by Viknesh » Fri Aug 17, 2007 7:44 am
by Viknesh
Fri Aug 17, 2007 7:44 am
This is the code. I did not use the method used in the overall template to assign codes to remote control. This code worked well until a few days ago. But when i keep on pressing the remote control, robonova starts to work well. I not sure whether it could be because of weak remote control battery.
MAIN:
A = REMOCON(1)
IF A = 25 THEN GOSUB Standard_Start
IF A = 1 THEN GOSUB Back_Pushups
IF A = 2 THEN GOSUB Pushups
IF A = 3 THEN GOSUB Swim
IF A = 4 THEN GOSUB Boxing
IF A = 5 THEN GOSUB Shoot
GOTO MAIN
This is the code. I did not use the method used in the overall template to assign codes to remote control. This code worked well until a few days ago. But when i keep on pressing the remote control, robonova starts to work well. I not sure whether it could be because of weak remote control battery.
MAIN:
A = REMOCON(1)
IF A = 25 THEN GOSUB Standard_Start
IF A = 1 THEN GOSUB Back_Pushups
IF A = 2 THEN GOSUB Pushups
IF A = 3 THEN GOSUB Swim
IF A = 4 THEN GOSUB Boxing
IF A = 5 THEN GOSUB Shoot
GOTO MAIN