esp32_lichtsensor/boot.py
2018-04-21 00:02:26 +02:00

9 lines
139 B
Python

import machine
import SI1145.py
i2c = machine.I2C(scl=machine.Pin(27), sda=machine.Pin(26))
i2c_addr = 0x60 # default ADDR for SI1145