View Single Post
  #11   Spotlight this post!  
Unread 03-02-2003, 00:29
Lloyd Burns Lloyd Burns is offline
Registered User
FRC #1246 (Agincourt Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Toronto
Posts: 292
Lloyd Burns is an unknown quantity at this point
The switch 2 and 3 LEDs were my constant friends while I debugged - yes, they should blink with the sensor output state.

If you shorted the +12V to the signal line, you may have

a) damaged the sensor - but you can try the other output (if you used white, try black, or vice versa. The first line after the serin could then be

rc_sw# = 1 - rx_sw# ' # is the number of the input your using

or

sensor3 = 1 - rc_sw1 ' if you were using inout 1, but damged input 1 and now have the sensor on three, and you refuse to change you program .

This will invert the signal so you don't have the change anything you've programmed.

b) damaged the RC input. Check that switching (cross two wires, don't use the Banner sensor) that input makes a change in a

DEBUG cls, bin8 rc_swA ,cr ' or rc_swB for higher number inputs
If you only damaged one input, use another (you aren't using all 16, are you ? 8-b If you blew the entire bet, decide if you can get it repaired in time.