Driver for LSM303D

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Driver for LSM303D

Post by rcolistete » Sun Jan 01, 2017 11:34 am

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 ?
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

User avatar
kamikaze
Posts: 154
Joined: Tue Aug 16, 2016 10:10 am
Location: Latvia
Contact:

driver for LSM303D

Post by kamikaze » Sun Jan 01, 2017 11:53 am

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
Last edited by kamikaze on Mon Jan 02, 2017 2:10 am, edited 1 time in total.

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: "framebuf" module

Post by rcolistete » Sun Jan 01, 2017 12:22 pm

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.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

User avatar
kamikaze
Posts: 154
Joined: Tue Aug 16, 2016 10:10 am
Location: Latvia
Contact:

driver for LSM303D

Post by kamikaze » Sun Jan 01, 2017 2:20 pm

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 )
Last edited by kamikaze on Mon Jan 02, 2017 2:09 am, edited 1 time in total.

Post Reply