View Single Post
  #3   Spotlight this post!  
Unread 11-03-2008, 19:59
scottanderson's Avatar
scottanderson scottanderson is offline
Software Architect
AKA: Scott Anderson
FRC #2608 (MiGHT)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Shelby Township
Posts: 20
scottanderson is an unknown quantity at this point
Re: Last minute autonomous programming!

Actual code would help...

I see several problems with what you posted:

No type on counter:
unsigned int counter = 0;

No spec in the printf to actually print the value:
printf( "counter value: %d\n", (int) counter);

As was pointed out, is this all in the same loop?
__________________
Regards,
Scott Anderson
Team 2608 MiGHT Mentor