trying pydPiper and other scripts again but no good so far. I can not figure out what is going on here.
When I trying to detect I2C i get the following address
Code:
pi@moode:~/pydPiper $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@moode:~/pydPiper $
So I trying to use this address in the config but getting error saying the device is not found
Code:
root@moode:/app# python pydPiper.py
pydPiper starting
Loading font from /app/displays/fonts/latin1_5x8_fixed.fnt
Uncaught exception
Traceback (most recent call last):
File "pydPiper.py", line 720, in <module>
lcd = displays.luma_i2c.luma_i2c(rows, cols, i2c_address, i2c_port, devicetype)
File "/app/displays/luma_i2c.py", line 54, in __init__
self.device = ssd1306(serial)
File "/usr/local/lib/python2.7/dist-packages/luma/oled/device.py", line 161, in __init__
self._const.NORMALDISPLAY)
File "/usr/local/lib/python2.7/dist-packages/luma/core/device.py", line 39, in command
self._serial_interface.command(*cmd)
File "/usr/local/lib/python2.7/dist-packages/luma/core/interface/serial.py", line 89, in command
'I2C device not found on address: 0x{0:02X}'.format(self._addr))
DeviceNotFoundError: I2C device not found on address: 0x48
Traceback (most recent call last):
File "pydPiper.py", line 720, in <module>
lcd = displays.luma_i2c.luma_i2c(rows, cols, i2c_address, i2c_port, devicetype)
File "/app/displays/luma_i2c.py", line 54, in __init__
self.device = ssd1306(serial)
File "/usr/local/lib/python2.7/dist-packages/luma/oled/device.py", line 161, in __init__
self._const.NORMALDISPLAY)
File "/usr/local/lib/python2.7/dist-packages/luma/core/device.py", line 39, in command
self._serial_interface.command(*cmd)
File "/usr/local/lib/python2.7/dist-packages/luma/core/interface/serial.py", line 89, in command
'I2C device not found on address: 0x{0:02X}'.format(self._addr))
luma.core.error.DeviceNotFoundError: I2C device not found on address: 0x48
Any idea anyone?