I just received my BBB a week ago, and been trying to get my accelerometer data on it.
My accelerometer is a Memsic 2125 ( http://www.parallax.com/Portals/0/Downloads/docs/prod/acc/memsickit.pdf )
which, as far is my knowledge goes, puts out a PWM signal.
Everything PWM and BBB related on google is only about sending out a PWM signal, instead of what I want, receiving it.
I tried using the AIN pins, but all the values stay the same, even if I unplug all the cables. I don’t know if it’s normal for AIN1 to always be around 1400? and AIN2 around 900 for that matter.
Can anybody help me on which ports I should use, and how to read that values?
I have Ubuntu running on my BBB.