Created
August 15, 2019 06:05
-
-
Save ciniml/cf10115dec1dbb3bfc1455452c8b30ca to your computer and use it in GitHub Desktop.
M5StackFire IMU Check on REPL
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
| MicroPython v1.11-127-g71019d174 on 2019-08-02; ESP32 module with ESP32 | |
| Type "help()" for more information. | |
| >>> | |
| >>> | |
| >>> import machine | |
| >>> i2c = machine.I2C(1, sda=21, scl=22, speed=400000) | |
| >>> i2c.scan() | |
| [14, 104, 117] | |
| >>> [hex(x) for x in i2c.scan()] | |
| ['0xe', '0x68', '0x75'] | |
| >>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment