!Kevin!
18-02-2010, 20:41
I have recently gotten a pneumatic kit for my Vex robot, but am still a little unsure on how to program it. I came up with this though:
Int Channel 5=0
while (1) //Insert Your RC Code Below
Channel5=Get RxInput (1,5):
if (Channel5=0)
Set Digital Output (16,1):
Wait (1000)
Set Digital Output (16,0):
I think my problem is with my variable, "Channel5". I don't know what properties I should use for it.
If you know any information that I may be missing then your help would be greatly appreciated.
Int Channel 5=0
while (1) //Insert Your RC Code Below
Channel5=Get RxInput (1,5):
if (Channel5=0)
Set Digital Output (16,1):
Wait (1000)
Set Digital Output (16,0):
I think my problem is with my variable, "Channel5". I don't know what properties I should use for it.
If you know any information that I may be missing then your help would be greatly appreciated.