|
Accelerometer: Analog or Digital?
We had our accelerometer connected to an Analog port, which we thought it was, but when we printfed the Get_Analog_Value(blah) it showed up some huge number like 17439, the value that we made get_analog_value go to was a double value, and we printfed with %d, when we moved the accelerometer no value changed
should it be an int instead of double?
do you think our connections might be wrong?
should it be digital instead?
or any other thing it might be?
thanks for the help
Chantilly 612
|