Closed
Description
The bitmap_font_simpletest.py provided in the examples folder appears to be written for CPython and does not currently work on CircuitPython Microcontrollers:
code.py output:
Traceback (most recent call last):
File "code.py", line 7, in <module>
AttributeError: 'module' object has no attribute 'path'
I think we should provide one or two additional examples that illustrate some way to use this library on a CircuitPython microcontroller device.
One example could make use of adafruit_display_text
though perhaps that is not considered "simple" since it relies on another library. The displayio learn guide contains an example of this
Another one could use a Bitmap object directly and set it's pixels similarly to how the existing script is drawing either " "
or "#"
I think that could work with no other dependencies outside of the core.