View Single Post
  #4   Spotlight this post!  
Unread 04-02-2005, 13:08
Jatheon4316's Avatar
Jatheon4316 Jatheon4316 is offline
Registered User
AKA: Jason
None #0500
Team Role: Programmer
 
Join Date: Jan 2005
Location: RI
Posts: 9
Jatheon4316 can only hope to improve
Send a message via AIM to Jatheon4316
Re: Number Variables Gone Bezerk!

When we tried to use ints (to print the joystick's x and y axis values onscreen) we had nothing but the default code and those few lines! ---Later though I realized that we were putting "%i" in the printf statements, only "%d"s are supported!

The other times we've had problems so far also have been with the default code and only a few extra variables...

Note: We're using the team robot from last year (2004) to test our coding on...could some kind of conflict (between 05 MPLAB+default code and the 2004 robot) be causing the trouble? The idea of doing trig functions and accurate autonomous navigation with only ints and chars is not very nice...