OLED 128x64 i2c python library problem - SOLVED

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
oldcyberdude
 
Posts: 2
Joined: Mon Dec 10, 2012 1:42 pm

OLED 128x64 i2c python library problem - SOLVED

Post by oldcyberdude »

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?
Last edited by oldcyberdude on Fri Oct 03, 2014 4:17 pm, edited 1 time in total.

oldcyberdude
 
Posts: 2
Joined: Mon Dec 10, 2012 1:42 pm

Re: OLED 128x64 i2c python library problem

Post by oldcyberdude »

Solved...... i2c modules not loading and wiring error i2cdetect is your friend!!!!!

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”