Which pin numbers should I use for GPIO0 and GPIO2 ?
I found an example here : https://www.dobitaobyte.com.br/i2c-com- ... cropython/ like that
Code: Select all
from machine import Pin, I2C
sda = Pin(12)
scl = Pin(14)
i2cbus = I2C(scl,sda)
Here https://primalcortex.wordpress.com/2015 ... -01-board/ it says ESP8266 can create and use an I2C bus on GPIO0 GPIO2 pins, here https://www.forward.com.au/pfod/ESP8266 ... magic.html the writer talks about ESP8266-01 Pin Magic; however I couldn't find a way to implement it in MicroPython.
I appreciate your help.