|
You don't have to use this year's OI.
Make a switch, label it autonomous, connect to a ground and a digital input on say, port 4.
Put this next to your light code, and it should always get executed. Now you have an autonomous switch.
Code:
if (put switch name here) = 0 then dontsetauto
auton_mode = 1
goto endautoset
dontsetauto:
autonmode = 0
endautoset:
__________________
"He said my name is Private Andrew Malone
If you're reading this then I didn't make it home
But for every dream that's shattered another one comes true
This car was once a dream of mine now it belongs to you
And though you may take her and make her your own
You'll always be riding with Private Malone" David Ball, "Private Malone"
|