Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.2 KB

File metadata and controls

58 lines (37 loc) · 1.2 KB

Introduction

microPython module for bosch motion sensor driver.

Supported Sensors

  • BMA423

Compiling guide

Get the source code

cd micropython
git clone https://github.com/liangyingy/bma_binding_micropython.git extmod/bma_binding_micropython

esp32

Note

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.cmake

Documentation

API documentation for this library can be found on Read the Docs.

Verification and Testing

  • [LILYGO T-Watch](bin/micropython-esp32-v1.19.bin)

Future plans

  • [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