tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
587 stars 180 forks source link

mpu6886: initial implementation #569

Closed ivoszz closed 1 year ago

ivoszz commented 1 year ago

This is an initial implementation of MPU6886 driver. I have tried to follow all the suggestions in Issues and Wiki. ( #552 )

deadprogram commented 1 year ago

This looks very good @ivoszz could you also please add to the smoke tests located here: https://github.com/tinygo-org/drivers/blob/dev/smoketest.sh

Thank you!

ivoszz commented 1 year ago

Which platform should I add a test for? Mpu6886 is usually part of M5Stack systems, but also exists as a standalone module. However, M5Stack systems do not yet have the I2C bus implemented. I use the I2Csoft driver for my needs.

deadprogram commented 1 year ago

How about -target=pico?