Skip to content

TypeError: unsupported bitmap type #8

Closed
@codepope

Description

@codepope

Just trying out the examples from the Adafruit article and almost immediatly got an error:

code.py output:
Traceback (most recent call last):
  File "code.py", line 14, in <module>
  File "adafruit_cursorcontrol/cursorcontrol.py", line 81, in init
  File "adafruit_cursorcontrol/cursorcontrol.py", line 240, in generate_cursor
TypeError: unsupported bitmap type

Not attempting to set a cursor bitmap. So was confused.

Sommersoft on Discord suggested a fix, swapping line 81 for

self.generate_cursor(self.cursor_bitmap)

This does resolve the issue for me.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions