mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
1d9ba8f814f8e39b0618371ae7075c97675eee1e
M5Stack-Fire board detection should be:
i2c0 = I2C(0, sda=Pin(21), scl=Pin(22))
if {0x68} <= set(i2c0.scan()): # IMU (MPU6886)
return "m5stack-fire"
But there are some pin incompatibilities between ESP32 and ESP32-S3 boards that don't allow I2C scan.
Main repository for MicroPythonOS.
See https://MicroPythonOS.com/ and https://docs.MicroPythonOS.com/ for more info.
Languages
Python
75.3%
C
11.5%
JavaScript
7.2%
HTML
3.5%
Shell
1.4%
Other
1%