HI
I want use an accelerator to know the gravity in an ambulance.
I don't know how the accelerometer works.
I have an DE-ACCM3D +/- 3g tri-axis accelerometer. With that, I have an Atom pro 24 and the LCD is SerLCD V2.5
For X axis, the output with a volmeter is 1.67 volt. On the LCD , it is written 359.
I don't understand why I get 359. What does this number mean ? If the accelerometer doesn't move, I should have 0 gravity for x axis.
How can I get the gravity on the LCD
volts var word
main
adin 0,volts
serout 1,i9600,[254,1, "x = ", DEC volts]
pause 100
goto main
Thanks
Pierre