Trying to run SSD1306 OLED 128x64 display from Raspberry Pi via I2C. Installed all the requisite libraries etc per "Usage" guidance. When I run shapes.py I get following traceback.
pi@raspberrypi ~/Adafruit_Python_SSD1306/examples $ sudo python shapes.py
Traceback (most recent call last):
File "shapes.py", line 49, in <module>
disp = Adafruit_SSD1306.SSD1306_128_64(rst=RST)
File "build/bdist.linux-armv6l/egg/Adafruit_SSD1306/SSD1306.py", line 230, in __init__
File "build/bdist.linux-armv6l/egg/Adafruit_SSD1306/SSD1306.py", line 97, in __init__
File "/usr/local/lib/python2.7/dist-packages/Adafruit_GPIO-0.5.5-py2.7.egg/Adafruit_GPIO/I2C.py", line 68, in __init__
self._bus = smbus.SMBus(busnum)
IOError: [Errno 2] No such file or directory
Thoughts?
OLED 128x64 i2c python library problem - SOLVED
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 2
- Joined: Mon Dec 10, 2012 1:42 pm
OLED 128x64 i2c python library problem - SOLVED
Last edited by oldcyberdude on Fri Oct 03, 2014 4:17 pm, edited 1 time in total.
-
- Posts: 2
- Joined: Mon Dec 10, 2012 1:42 pm
Re: OLED 128x64 i2c python library problem
Solved...... i2c modules not loading and wiring error i2cdetect is your friend!!!!!
Please be positive and constructive with your questions and comments.