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
622 stars 196 forks source link

Adding support for the LSM303DLHC e-Compass #720

Open BryanSouza91 opened 3 weeks ago

BryanSouza91 commented 3 weeks ago

I have added support for the LSM303DLHC e-Compass using the existing LSM303AGR driver as the starting point. I updated the registers as necessary from the information provided by the datasheet. I also fixed spelling in the connection error message in the LSM303AGR driver.