View Single Post
  #2   Spotlight this post!  
Unread 12-02-2005, 19:38
probizzle's Avatar
probizzle probizzle is offline
Registered User
AKA: Prabhas Pokharel
#0639 (Code Red)
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2003
Location: Ithaca
Posts: 78
probizzle will become famous soon enoughprobizzle will become famous soon enough
Send a message via AIM to probizzle
Re: OI/Control Board LEDs during Autonomous

lol, JUST finished writing this

Code:
int flicka;

//somewhere in User_Initialization..
    flicka = 0;

//Where it says "put your autonomous code in here in user_routines_fast.c

   Pwm1_green = Pwm2_green = Pwm1_red = Pwm2_red = flicka = !flicka;
This flickers the green and red leds of Pwm1 and Pwm2 on the rc.
Hope this helps.
__________________
Code Red Team 639 Winners of the 2005 FingerLakes Regional with 191 and 494.
--
http://pset.deu83.com << my baby
http://www.setgame.com/set/ << it's mother

Last edited by probizzle : 12-02-2005 at 21:20.