**** COMMODORE 64 BASIC V2 ****

64K RAM SYSTEM 38911 BASIC BYTES FREE

READY.

LIST
10 REM ANDROID CONTROLLER
20 PRT=56577:POKE56579,63
30 GETA$:IFA$=""THEN30
40 POKE PRT,1:REM TURN MOTOR ON
50 GETA$:IFA$=""THEN50
60 POKE PRT,0:REM TURN MOTOR OFF
70 GOTO30
READY.
RUN
BREAK IN 30
READY.