Hi everyone,
I got a TI Innovator Rover today and have a TI Nspire CX, what should I do with it?
EDIT:
I wrote this code:
Define rovercontrol()=
Prgm
:Send "CONNECT RV"
:getkey(1)→keycode
:If keycode="8" then
:Send "RV FORWARD 1"
:EndIf
:If keycode="2" then
:Send "RV BACKWARD 1"
:EndIf
:If keycode="4" then
:Send "RV LEFT"
:Send "RV FORWARD 1"
:EndIf
:If keycode="6" then
:Send "RV RIGHT"
:Send "RV FORWARD 1"
:EndIf
:EndPrgm
But I get an error beep from the hub and rover
I got a TI Innovator Rover today and have a TI Nspire CX, what should I do with it?
EDIT:
I wrote this code:
Define rovercontrol()=
Prgm
:Send "CONNECT RV"
:getkey(1)→keycode
:If keycode="8" then
:Send "RV FORWARD 1"
:EndIf
:If keycode="2" then
:Send "RV BACKWARD 1"
:EndIf
:If keycode="4" then
:Send "RV LEFT"
:Send "RV FORWARD 1"
:EndIf
:If keycode="6" then
:Send "RV RIGHT"
:Send "RV FORWARD 1"
:EndIf
:EndPrgm
But I get an error beep from the hub and rover