Thread
:
Last minute autonomous programming!
View Single Post
#
4
12-03-2008, 01:17
slavik262
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
Re: Last minute autonomous programming!
If it is all within the loop, to prevent the counter from being reset every iteration of the loop, declare it in the following manner:
Code:
static unsigned char counter;
__________________
slavik262
View Public Profile
Visit slavik262's homepage!
Find all posts by slavik262
Find CD-Media Photos by slavik262
Find CD-Media Papers by slavik262