Open ghost opened 5 years ago
Traceback (most recent call last): File "lcd.py", line 4, in lcd = lcddriver.lcd() File "/home/pi/LCD/lcddriver.py", line 61, in init self.lcd_write(0x03) File "/home/pi/LCD/lcddriver.py", line 84, in lcd_write self.lcd_write_four_bits(mode | (cmd & 0xF0)) File "/home/pi/LCD/lcddriver.py", line 79, in lcd_write_four_bits self.lcd_device.write_cmd(data | LCD_BACKLIGHT) File "/home/pi/LCD/i2c_lib.py", line 11, in write_cmd self.bus.write_byte(self.addr, cmd) IOError: [Errno 121] Remote I/O error
I have an error when trying to run LCD program. Can anybody help me, please?
Traceback (most recent call last): File "lcd.py", line 4, in
lcd = lcddriver.lcd()
File "/home/pi/LCD/lcddriver.py", line 61, in init
self.lcd_write(0x03)
File "/home/pi/LCD/lcddriver.py", line 84, in lcd_write
self.lcd_write_four_bits(mode | (cmd & 0xF0))
File "/home/pi/LCD/lcddriver.py", line 79, in lcd_write_four_bits
self.lcd_device.write_cmd(data | LCD_BACKLIGHT)
File "/home/pi/LCD/i2c_lib.py", line 11, in write_cmd
self.bus.write_byte(self.addr, cmd)
IOError: [Errno 121] Remote I/O error
I have an error when trying to run LCD program. Can anybody help me, please?