Skip to content

ValueError: too many values to unpack #2

@Foxy6670

Description

@Foxy6670

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions