Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lbuque/bma_binding_micropython
BMA423 Sensor API binding for MicroPython
https://github.com/lbuque/bma_binding_micropython
bma423 esp32 micropython t-watch t-watch-2020
Last synced: about 1 month ago
JSON representation
BMA423 Sensor API binding for MicroPython
- Host: GitHub
- URL: https://github.com/lbuque/bma_binding_micropython
- Owner: lbuque
- License: mit
- Created: 2022-08-25T02:01:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-25T01:55:55.000Z (about 2 years ago)
- Last Synced: 2023-03-11T04:55:37.259Z (almost 2 years ago)
- Topics: bma423, esp32, micropython, t-watch, t-watch-2020
- Language: C
- Homepage:
- Size: 2.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: license
Awesome Lists containing this project
README
概况
====用于博世运动传感器驱动程序的 microPython 模块。
支持的传感器
============- BMA423
编译指南
========获取源码
---------.. code-block:: shell
cd micropython
git clone https://github.com/liangyingy/bma_binding_micropython.git extmod/bma_binding_micropythonesp32
------.. note::
编译前请准备好esp-idf
关于esp32更详细的编译说,请参考 https://github.com/micropython/micropython/tree/master/ports/esp32
.. code-block:: shell
cd ports/esp32/
make USER_C_MODULES=../../../extmod/bma_binding_micropython/micropython.cmake文档
=====这个库的 API 文档可以在 `Read the Docs `_ 中找到。
验证与测试
===========- [LILYGO T-Watch](bin/micropython-esp32-v1.19.bin)
开发计划
========- [x] 步数统计
- [x] 活动检测中断
- [x] 单击中断
- [x] 双击中断
- [x] 抬腕中断
- [ ] 引入线程对中断进行处理
- [ ] 支持spi接口
- [ ] 更多的传感器