View Single Post
  #4   Spotlight this post!  
Unread 12-03-2006, 09:11
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: OI LED programming

You can type a variable name in any input or output. You don't have
to set numbers.

void Autonomous ( void )
{
unsigned char LED_0_State;
unsigned char Enabled;

Enabled = IsEnabled ( ) ;
LED_0_State = Enabled ;
SetOILED ( 0 , LED_0_State ) ;
}
Attached Thumbnails
Click image for larger version

Name:	OILED.jpg
Views:	38
Size:	15.6 KB
ID:	4115  Click image for larger version

Name:	enabled.jpg
Views:	31
Size:	14.8 KB
ID:	4116