|
Re: help with operator control
Two things change the while loops to "If" and set a off state for the relay.
If ( Y >= (117 && Y <= 137) {
SetRelay ( Off )
}
else if (Y >= 138 ) {
SetRelay ( Forward)
}
else if (Y <=116 ) {
SetRelay ( Reverse)
}
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
Last edited by Kingofl337 : 18-02-2008 at 11:39.
|