Re: [9fans] Pi Hats and i2c

2016-03-09 Thread Vasudev Kamath
"Brian L. Stuart" writes: > On Wed, 3/9/16, Vasudev Kamath wrote: >>> The second talks to the MMA8451 3-axis accelerometer: >>> >>> http://cs.drexel.edu/~bls96/plan9/mma8451sa.c >> >> This link gives Forbidden message (403) > > Oops. I had the

Re: [9fans] Pi Hats and i2c

2016-03-09 Thread Brian L. Stuart
On Wed, 3/9/16, Vasudev Kamath wrote: >> The second talks to the MMA8451 3-axis accelerometer: >> >> http://cs.drexel.edu/~bls96/plan9/mma8451sa.c > > This link gives Forbidden message (403) Oops. I had the mode set wrong. Try it now and see if works better for you.

Re: [9fans] Pi Hats and i2c

2016-03-09 Thread Vasudev Kamath
"Brian L. Stuart" writes: > On Wed, 3/9/16, Anthony Sorace wrote: >> Anyone have any example code using the i2c interface on the pi >> I can look at? I'm playing around with several of these, and am not >> getting the results I expect (data getting out,

Re: [9fans] Pi Hats and i2c

2016-03-09 Thread Brian L. Stuart
On Wed, 3/9/16, Anthony Sorace wrote: > Anyone have any example code using the i2c interface on the pi > I can look at? I'm playing around with several of these, and am not > getting the results I expect (data getting out, but the hats aren't behaving > like they're getting the

[9fans] Pi Hats and i2c

2016-03-09 Thread Anthony Sorace
Anyone have any example code using the i2c interface on the pi I can look at? I'm playing around with several of these, and am not getting the results I expect (data getting out, but the hats aren't behaving like they're getting the same bits I think I'm sending). More generally, anyone got