Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ssd1306 plugin problem
#1
On raspberry display work good (RASPBERRY PI 4, Relay board-16, SSD1306 OLED Display, SIP version: 4.027).
but plugin don,t (no message at all). Any help ? 
command: i2cdetect -y 1
shows following sreen:

0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Reply
#2
(2020 Apr 28, 09:40 PM)Darek Wrote: On raspberry display work good (RASPBERRY PI 4, Relay board-16, SSD1306 OLED Display, SIP version: 4.027).
but plugin don,t (no message at all). Any help ? 
command: i2cdetect -y 1
shows following sreen:

0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Hi Darek,

I don't have an LCD to test this plugin with but I fixed some problems that prevented it from loading.
Try re-installing the plugin to get the updated version and let me know if it works.

Dan
<p><br></p>
Reply
#3
Many thanks Dan..Now it works perfectly..SmileSmileSmile
Reply
#4
My bad. I had started working on that plugin when the main project was still called "ospi". I fixed that for my personal version, but I forgot to submit the fix to the repo. The keypad and buzzer plugins still import "ospi" instead of "sip".

I plan on making updates to the ssd1306 plugin over the next month or so. After 3 years of using it, it developed major burn-in for the "Idle" text. I'm thinking of adding a timeout to shut off the screen when idle, configurable in settings.
Reply
#5
@ Tails86,

Updates would be great.

Until recently SIP had an ospi.py symlink to sip.py that would allow older plugins etc. to work by importing ospi.
That was removed when the Python 3 compatible version of SIP (4.0) was released. The plugins were also updated at the same time.

Dan
<p><br></p>
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)