View Single Post
  #9   Spotlight this post!  
Unread 16-04-2006, 22:25
intellec7's Avatar
intellec7 intellec7 is offline
108 programmer
AKA: Gustavo
FRC #0108 (SigmaC@ts)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2006
Location: Hollywood, Florida
Posts: 65
intellec7 is on a distinguished road
Send a message via AIM to intellec7 Send a message via MSN to intellec7
Re: Reading interupt pin as Standard IO

Quote:
Originally Posted by Alan Anderson
You probably had the right values in the accel_xTilt variable, but printf() has difficulty showing anything other than an int unless you cast things just right.
How did you know :-p. I had %d with an unsigned int... changed it to %u and voila. Thanks for your help.