Thread
:
Running a Relay for a Set Time
View Single Post
#
4
22-02-2010, 09:51
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: Running a Relay for a Set Time
I'd recommend using the Notifier class. It automatically calls a callback function after a given amount of time, and works on an interrupt level so it doens't block other code until it runs.
__________________
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