discovery icon indicating copy to clipboard operation
discovery copied to clipboard

getting wrong output from chapter Punch-o-meter

Open NitinSaxenait opened this issue 4 years ago • 1 comments
trafficstars

Hi, I am currently working with an accelerator in chapter Punch-o-meter but my output is not similar to what is given in the book. My accelerometer is reading from all the 3 axis x,y,z and not only positive but also negative values which is wrong according to the concept explained here. The output I am getting using this lsm303dlhc is:

`(-0.09375, -0.046875, 0.9375)

(-0.09375, 0.0, 0.890625)

(-0.140625, -0.046875, 0.9375)

(-0.09375, -0.046875, 0.890625)

(-0.09375, -0.046875, 0.890625) ` Can someone help me with this?

NitinSaxenait avatar Jul 30 '21 13:07 NitinSaxenait

Not sure if this relates exactly to your situation but maybe helpful: https://github.com/rust-embedded/discovery/issues/274

SitAAAx avatar Aug 08 '21 13:08 SitAAAx