View Single Post
  #8   Spotlight this post!  
Unread 20-02-2003, 09:33
TangoBravo1318 TangoBravo1318 is offline
Registered User
#1199 (Aesthetics)
 
Join Date: Feb 2003
Location: PA
Posts: 9
TangoBravo1318 is an unknown quantity at this point
Send a message via AIM to TangoBravo1318
Re: turn on the light - question

Quote:
Originally posted by powercat
Greetings,
Our rotating beacon is currently on whenever the robot has power. Should
I set it to only power on when comp_mode is 1. That way its off, until the start of the competition ?

just want to do it right.

thanks.
ok. thats correct, all you have to do is put a section of code in that looks like this:

'===========Turn on rotating light ====================
relay8_fwd=1
relay8_rev=1

'==============================================

Depending on your electricians, your light will turn on either on FWD or REV. Change one to 0 and if it dosent turn on, change the other to 0 and that one to 1. Also, the OI takes care of the light, and other "stuff". That has the same effect as "disabled" (unplugging your OI)
__________________
- Curtis