Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The driver for BMA423 Triaxial Acceleration Sensor | ||||||||
Changed: | ||||||||
< < | I found that MicroPython layer in bma423 from https://github.com/OPHoperHPO/lilygo-ttgo-twatch-2020-micropython ![]() | |||||||
> > | The MicroPython layer in bma423 from https://github.com/OPHoperHPO/lilygo-ttgo-twatch-2020-micropython ![]() | |||||||
Changed: | ||||||||
< < | However, I found that Daniel Thomson has also written a MicroPython interface to the BMA423 API from Bosch SensorTec, which was easier to adapt to the t-watch. | |||||||
> > | However, I found that Daniel Thomson has also written a MicroPython interface to the BMA423 API from Bosch SensorTec![]() | |||||||
https://github.com/daniel-thompson/bma42x-upy![]() | ||||||||
Line: 12 to 12 | ||||||||
Daniel also supplies a few example programs, which are essentially ports of the Bosch examples ported from C to MicroPython | ||||||||
Changed: | ||||||||
< < | The BMA42X driver uses the | |||||||
> > | The BMA42X driver provides the following methods: | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
The driver also defines the following constants: The registers: | ||||||||
Line: 55 to 58 | ||||||||
| ||||||||
Added: | ||||||||
> > | Features | |||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Added: | ||||||||
> > | Interrupts | |||||||
| ||||||||
Changed: | ||||||||
< < | Constants to enable axis | |||||||
> > | Enable axis | |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The driver for BMA423 Triaxial Acceleration Sensor | ||||||||
Changed: | ||||||||
< < | I use the bma423 API from Bosch with Daniel Thomson's upy interface: | |||||||
> > | I found that MicroPython layer in bma423 from https://github.com/OPHoperHPO/lilygo-ttgo-twatch-2020-micropython ![]() | |||||||
https://github.com/daniel-thompson/bma42x-upy![]() | ||||||||
Changed: | ||||||||
< < | The BMA42x driver uses the | |||||||
> > | I had to make only a few modifications: Daniel uses a BMA421 while the t-watch uses a BMA423. I therefore had to replace all occurrences of "bma421" in bma42x.c by "bma423". In addition the t-watch uses the secondary I2C address 0x19 for the chip (the primary address is 0x18) and I therefore had to replace ic2_addr in the device descriptor to BMA4_I2C_ADDR_SECONDARY.
Daniel also supplies a few example programs, which are essentially ports of the Bosch examples ported from C to MicroPython
The BMA42X driver uses the
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 26 to 33 | ||||||||
| ||||||||
Added: | ||||||||
> > | The driver also defines the following constants:
The registers:
| |||||||
-- ![]() |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The driver for BMA423 Triaxial Acceleration Sensor | ||||||||
Added: | ||||||||
> > | I use the bma423 API from Bosch with Daniel Thomson's upy interface:
https://github.com/daniel-thompson/bma42x-upy![]()
| |||||||
-- ![]() Comments |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
The driver for BMA423 Triaxial Acceleration Sensor--![]() Comments |