packageI2c

I2C bus: the microcontroller as master and slave peripherals described by a Python script

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Contents

NameDescription
EchoThe microcontroller writes a multi-byte frame to an I2C peripheral, then reads it back
MultiDeviceThree I2C peripherals on the same bus: the microcontroller finds them with scan() and talks to each one without crosstalk
GroveLcdGrove LCD RGB screen driven by an off-the-shelf MicroPython driver, run without modification