![]() |
Fast LCD I2C driver 1.0
Fast driver for LCDs on I2C for Pi-Pico and Arduino
|
In the Pi Pico environment, there is a helper function to set up the I2C bus and the pins required.
Functions | |
int | LCD_I2C_Setup (i2c_inst_t *I2C, uint SDA_Pin, uint SCL_Pin, uint I2C_Clock) noexcept |
Helper function to set up the I2C bus on Pi Pico. More... | |
|
noexcept |
Helper function to set up the I2C bus on Pi Pico.
Sets up the I2C bus given instance on the given pins with a specified clock rate. Defines the pins for the pico tools. It can be called from C or C++.
I2C | is the I2C bus instance to use. Either i2c0 or i2c1. |
SDA_Pin | is the Pi Pico Pin for the I2C SDA (data) line. |
SCL_Pin | is the Pi Pico Pin for the I2C SCL (clock) line. |
I2C_Clock | is the I2C bus speed. Typically 100000 or 400000. |