you can use for i2c with python the adafruit library fro the beaglebone or if you like to use nodejs there is node-i2c. I used node-i2c to make a custom driver for the ds1337 rtc and it worked pretty nice.
-Pedro On Sun, Nov 17, 2013 at 12:25 AM, Zain Dar <[email protected]> wrote: > Hi, I'm working on two accelerometers, both of them are digital (ADXL345 > by sparkfun) and I'm having trouble programming them to display the X, Y > and Z axis. I'm trying the code in python first because its alot easier to > work with and much faster to learn than C++ but I haven't had much luck in > finding tutorials that make sense. Derek Molloys tutorial of the same topic > is good but it comes with some problems that I'm unable to solve. He > requires to install a number of other packages that are temporarily > unavailable online for downloading into my BBB so I have to result to > alternate ideas and code examples. Can someone please kindly direct me to a > sample code that I can try out? > Thanks > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
