Page 1 of 1

Driver for LSM303D

Posted: Sun Jan 01, 2017 11:34 am
by rcolistete
Moderator Note: LSM303 posts split off into this thread.
kamikaze wrote:Here I'm trying to output text onto SSD1322 display. So I've modified modframebuf.c to have GRAY4 (not sure how it is correct to call) mode.
Wow, you have the LSM303 (DLHC/D/C ?) working with Pyboard ! Is the driver published ?

driver for LSM303D

Posted: Sun Jan 01, 2017 11:53 am
by kamikaze
rcolistete wrote: Wow, you have the LSM303 (DLHC/D/C ?) working with Pyboard ! Is the driver published ?
yep: https://github.com/kamikaze/pyboard-exa ... 2screen.py

Re: "framebuf" module

Posted: Sun Jan 01, 2017 12:22 pm
by rcolistete
kamikaze wrote:
rcolistete wrote: Wow, you have the LSM303 (DLHC/D/C ?) working with Pyboard ! Is the driver published ?
yep: https://github.com/kamikaze/pyboard-exa ... 2screen.py
Thanks ! So your driver is for LSM303DLHC, as it has 12 bits accelerometer and magnetometer, right ?

Any plans to have a MicroPython LSM303D driver ? I ask to avoid double effort, I was planning to make a simple LSM303D driver in January. LSM303D has only one I2C address, 16 bits accelerometer and magnetometer.

driver for LSM303D

Posted: Sun Jan 01, 2017 2:20 pm
by kamikaze
rcolistete wrote:Any plans to have a MicroPython LSM303D driver ? I ask to avoid double effort, I was planning to make a simple LSM303D driver in January. LSM303D has only one I2C address, 16 bits accelerometer and magnetometer.
I have only one device which is Pololu imu01b. Feel free to fork )