microPython module for bosch motion sensor driver.
- BMA423
cd micropython
git clone https://github.com/liangyingy/bma_binding_micropython.git extmod/bma_binding_micropythonNote
Please prepare esp-idf before compiling
For more detailed compilation of esp32, please refer to https://github.com/micropython/micropython/tree/master/ports/esp32
cd ports/esp32/
make USER_C_MODULES=../../../extmod/bma_binding_micropython/micropython.cmakeAPI documentation for this library can be found on Read the Docs.
- [LILYGO T-Watch](bin/micropython-esp32-v1.19.bin)
- [x] Step count
- [x] Activity detection interrupted
- [x] Click event interrupt
- [x] Double click event interrupt
- [x] Wrist lift event interrupted
- [ ] Introduce threads to handle interrupts
- [ ] Support spi interface
- [ ] Support for more sensors