Quote:
|
Originally Posted by Jack21
Now I'm not even sure where the cut off switch is supposed to be connected to the Robot controller. What pins should I be connected to on the controller.
|
well, it depends on your code. This might help:
Code:
rc_sw1 VAR rc_swA.bit0 'Pin 1
rc_sw2 VAR rc_swA.bit1 'Pin 2
rc_sw3 VAR rc_swA.bit2 'Pin 15
rc_sw4 VAR rc_swA.bit3 'Pin 16
rc_sw5 VAR rc_swA.bit4 'Pin 4
rc_sw6 VAR rc_swA.bit5 'Pin 5
rc_sw7 VAR rc_swA.bit6 'Pin 18
rc_sw8 VAR rc_swA.bit7 'Pin 19
rc_sw9 VAR rc_swB.bit0 'Pin 7
rc_sw10 VAR rc_swB.bit1 'Pin 8
rc_sw11 VAR rc_swB.bit2 'Pin 21
rc_sw12 VAR rc_swB.bit3 'Pin 22
rc_sw13 VAR rc_swB.bit4 'Pin 10
rc_sw14 VAR rc_swB.bit5 'Pin 11
rc_sw15 VAR rc_swB.bit6 'Pin 24
rc_sw16 VAR rc_swB.bit7 'Pin 25
All other pins are ground.
If you can post the code that controls the compressor, I can tell you how to fix it if you know which pin you are plugged into now. (You also have to give me the alias deifinitions of any aliases used in the code)