This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gc | |
import machine | |
import pyb | |
import time | |
import network | |
# Configure GPIO pins 0 and 2 to be used for | |
# the I²C interface | |
iic = machine.I2C(pyb.Pin(2), pyb.Pin(0)) |