Última actividad 1 month ago

ESP8266 MicroPython AFEletronica Board

expander_test.py Sin formato
1from machine import Pin, I2C
2
3expAddr = 0x27 # I2C Expander I/O
4
5i2c.writeto(expAddr, '\x00') # Clear All
6i2c.writeto(expAddr, '\x7F') # Fill All