View Single Post
  #1   Spotlight this post!  
Unread 10-02-2005, 16:32
psquared psquared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Chantilly
Posts: 34
psquared is an unknown quantity at this point
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