skip to Main Content

Python Module for I2C, OLED Library Update

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top