View Single Post
  #3   Spotlight this post!  
Unread 07-02-2008, 23:49
JonathanLKS JonathanLKS is offline
Code::Blocks
FRC #0610 (The Coyotes)
Team Role: Leadership
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Toronto
Posts: 36
JonathanLKS will become famous soon enough
Send a message via MSN to JonathanLKS
Re: IR Sensor: Does Slow Loop Polling Work.

I've also gotten the IR sensor to work fine in the slow loop. All I did was just a simple if statement like this
Code:
if(rc_dig_in01 == 1)
{
button_pressed = 1;
}
__________________

Team 610 [ Co-Leader | Head Programmer | Webmaster ]
We're attending: Greater Toronto Regional, San Diego Regional, Championship