Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
List of Resources
#1
Putting together a set of links for microcontroller development. Link any other resources you find!

The first is a simple Python script that gives an example of interacting with a chip over an I2c bus. Specifically using the SMBus protocol.

https://forum.pololu.com/t/lsm303d-raspb...river/7698

For reference this is the datasheet of the particular chip interfaced with in the script.

https://www.pololu.com/file/0J703/LSM303D.pdf

Finally, if you want a C++ equivalent to reference, this seems like a good point to start with.

https://github.com/pololu/lsm303-arduino...LSM303.cpp
"Physics is like sex: sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)