RandyCupic / RuneAudioLCD

Program for RuneAudio for LCD, remote and buttons
8 stars 7 forks source link

Error #4

Open TimHobbes opened 6 years ago

TimHobbes commented 6 years ago

When I start start.py with the commando python2 start.py is get the error: Traceback (most recent call last): File "start.py", line 117, in display = i2c_display.i2c_display(I2C_DISPLAY_ADDRESS, LCD_ROWS, LCD_COLUMNS, TEMPORARY_SCREEN_PERIOD, SCROLLING_PERIOD) File "/root/RuneAudioLCD-master/display.py", line 20, in init self.lcd_initialize() File "/root/RuneAudioLCD-master/i2c_display.py", line 102, in lcd_initialize self.lcd_device = i2c_device(self.address) File "/root/RuneAudioLCD-master/i2c_display.py", line 79, in init self.bus = smbus.SMBus(port) IOError: [Errno 2] No such file or directory

RandyCupic commented 6 years ago

Hello,

Take a look on the installation tutorial: http://www.runeaudio.com/forum/lcd-display-and-buttons-in-python-tutorial-and-code-t1191.html

Search for "smbus" and there you will find what you should do to remove this problem with smbus.

This is only a workaround. I have to retype this script to make it better and easier to install.