You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import pifacecad
if __name__ == '__main__':
cad = pifacecad.PiFaceCAD()
cad.lcd.backlight_on()
while True:
cad.lcd.write("Hello EMC!")
Causes:
Traceback (most recent call last):
File "pfcad_emc.py", line 9, in <module>
cad.lcd.write("Hello EMC!")
File "/usr/lib/python3/dist-packages/pifacecad/lcd.py", line 438, in write
self.set_ddram_address()
File "/usr/lib/python3/dist-packages/pifacecad/lcd.py", line 350, in set_ddram_address
address = self.colrow2address(col, row)
File "/usr/lib/python3/dist-packages/pifacecad/lcd.py", line 393, in colrow2address
return col + ROW_OFFSETS[int(row)]
IndexError: list index out of range
After a short while.
The text was updated successfully, but these errors were encountered:
Causes:
After a short while.
The text was updated successfully, but these errors were encountered: