microbit-foundation / micropython-microbit-stubs

Type stubs for MicroPython for micro:bit to support the micro:bit Python Editor V3
https://python.microbit.org/
Other
3 stars 2 forks source link

More realistic i2c examples (uart, spi too?) #34

Open microbit-matt-hillsdon opened 2 years ago

microbit-matt-hillsdon commented 2 years ago

From Carlos:

A bit of I2C example code: https://github.com/carlosperate/micropython-driver-workshop/blob/master/workshop/part-6/solution/main.py#L69-L84

Can we find suitable examples for the other comms-related modules?