pico-micropython-examples/i2c/i2c_without_freq.py

4 wiersze
89 B
Python

from machine import I2C
i2c = I2C(0) # defaults to SCL=Pin(9), SDA=Pin(8), freq=400000