Post by rogers1313 on Apr 19, 2018 15:01:00 GMT -8
I have asked a broad question in another thread. I am attempting to whittle down my issues one by one. So I will try to focus on one thing in this thread. I am trying to test the OLED SSD1306 display that came with my GroveWeatherPi system. It presently does work with my project. This is what I have. I am using the PI2Grove board on a Raspberry Pi 3B. I have the display connected with a Grove connector to the I2C port on the board. I am attempting to run the SDL_image.py program below and get the following error. Can you help me with this. So I can see if I have a bad display.
[email protected]:~/SDL_Pi_GroveWeatherPi/SDL_Pi_SSD1306 $ sudo python SDL_image.py Traceback (most recent call last): File "SDL_image.py", line 56, in <module> disp = Adafruit_SSD1306.SSD1306_128_64(rst=RST, i2c_address=0x3C) File "build/bdist.linux-armv7l/egg/Adafruit_SSD1306/SSD1306.py", line 240, in __init__ File "build/bdist.linux-armv7l/egg/Adafruit_SSD1306/SSD1306.py", line 85, in __init__ File "build/bdist.linux-armv7l/egg/Adafruit_GPIO/GPIO.py", line 321, in get_platform_gpio ImportError: No module named Adafruit_BBIO.GPIO
It's been a long time coming, but I did a fresh install on my raspberry pi 3 and the Grove weather project and finally got this display to work. This is all I did differently (I think)... I installed the latest NOOBS 3.0.0. I had NOOBS 2.7.0 and 2.99 SwitchDoc software when it did not work. I installed the latest SwitchDoc software. Then I went through the same install procedure for the database and all the other suggested installs. I have these all written down in order so I can reproduce this again. Ran the I2c bus test routine all looked good. Started up program. Everything appears to be working.
Last Edit: Jan 9, 2019 15:57:39 GMT -8 by rogers1313