discovery
discovery copied to clipboard
getting wrong output from chapter Punch-o-meter
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?
Not sure if this relates exactly to your situation but maybe helpful: https://github.com/rust-embedded/discovery/issues/274