adafruit / Adafruit_CircuitPython_CharLCD

Library code for character LCD interfacing
MIT License
69 stars 50 forks source link

another impl (not an issue, just a pointer) #1

Closed dhalbert closed 7 years ago

dhalbert commented 7 years ago

FYI, you may be interested in https://github.com/dhalbert/CircuitPython_LCD, for char LCDs, with the interface factored out. Currently the only interface I provide is for PCF8574 backpacks (not compatible with Adafruit backpack). I did some things to reduce RAM usage as well (const(), underscored constant names, etc.)

brentru commented 7 years ago

Thanks for linking your implementation! (it's cool to see other's implementations). I'll also look into using these methods for reducing RAM usage (without a .mpy, the .py is too large to fit on boards, reduced RAM would help tremendously)

dhalbert commented 7 years ago

http://circuitpython.readthedocs.io/en/latest/docs/reference/constrained.html#execution-phase talks about const(), etc.. And see other stuff on that page as well.