The code is written in FORTH. The Android app sends ascii characters for each direction command. "F" for Forward, "B" for Back ...etc. Your code has to detect these direction characters and turn on the desired GPIO pin. : RC.car Init 103 $C4 ! \ 9600 baud BEGIN Key dup 70 = \ F IF Forward THEN dup 66 = \ B IF Back THEN dup 76 = \ L IF Left THEN dup 82 = \ R IF Right THEN dup 83 = \ S IF Stop THEN dup 73 = \ I IF ForRight THEN dup 71 = \ G IF ForLeft THEN dup 74 = \ J IF BackRight THEN dup 72 = \ H IF BackLeft THEN 27 = \ esc UNTIL ;
Is this diagram is correct please answer me
Yes ... The wiring diagram shown in the video is correct.
thank you....please i need the code
The code is written in FORTH.
The Android app sends ascii characters for each direction command.
"F" for Forward, "B" for Back ...etc.
Your code has to detect these direction characters and turn on the desired GPIO pin.
: RC.car
Init
103 $C4 ! \ 9600 baud
BEGIN
Key dup
70 = \ F
IF Forward THEN dup
66 = \ B
IF Back THEN dup
76 = \ L
IF Left THEN dup
82 = \ R
IF Right THEN dup
83 = \ S
IF Stop THEN dup
73 = \ I
IF ForRight THEN dup
71 = \ G
IF ForLeft THEN dup
74 = \ J
IF BackRight THEN dup
72 = \ H
IF BackLeft THEN
27 = \ esc
UNTIL ;
Thanks brother if I need help I will call you