So I tried running the script on my Raspberry Pi 4 with the following command:
python3 oled.py /dev/i2c-1 1 1 0 0
And I got this error:
Traceback (most recent call last):
File "/home/user/PyXCursor/oled.py", line 108, in <module>
newbuffer = getFrameAsByteList()
File "/home/user/PyXCursor/oled.py", line 82, in getFrameAsByteList
iarray, xhot, yhot = cursor.getCursorImageArrayFast()
ValueError: too many values to unpack (expected 3)
Any way I can fix this?
Thank you in advance.
So I tried running the script on my Raspberry Pi 4 with the following command:
And I got this error:
Any way I can fix this?
Thank you in advance.