I2C Python Module
Finally, as promised, the Onion I2C library is available as a Python module.
Check out this wiki post for details on how to install and use the module: https://wiki.onion.io/Tutorials/Libraries/I2C-Library
OLED Expansion Library
The OLED library has been updated with some new functions:
- Setting column addressing for text
- Setting column addressing for the full screen
- Setting the cursor based on the row and pixel (instead of column)
- Writing a single byte (8 vertical pixels) to the screen
The functions are available in the C library as well as the Python Module, and the command line oled-exp
tool supports the new functions as well.
All of the info can be found here: https://wiki.onion.io/Tutorials/Libraries/OLED-Expansion-Library
Join the discussion here: https://community.onion.io/topic/560/python-module-for-i2c-oled-library-update
HACKED BY SudoX — HACK A NICE DAY.