The app is for users who have built the remote controlled bluetooth enabled Arduino toy car but need to control it over bluetooth from their mobile device. The controls and how-to are listed in here.
http://robust-tech.blogspot.com/2016/02/arduino-remote-car-app.html
In short below is the code snippet for arduino
if (receivedChar == '1') {
forward();
flag = 6;
}
the code mapping is as below
Forward --> 1
Back --> 2
Right --> 3
Left --> 4
Stop --> 5
Auto Pilot --> 8
Fn1 --> 6
Fn2 --> 7
Fn3 --> 9
แอปสำหรับผู้ใช้ที่ได้สร้างบลูทู ธ ที่เปิดใช้งานควบคุมจากระยะไกลรถ Arduino ของเล่น แต่ต้องควบคุมมันผ่าน Bluetooth จากโทรศัพท์มือถือของพวกเขา การควบคุมและวิธีการที่ระบุไว้ในที่นี่
http://robust-tech.blogspot.com/2016/02/arduino-remote-car-app.html
ในระยะสั้นด้านล่างเป็นข้อมูลโค้ดสำหรับ Arduino
ถ้า (receivedChar == '1') {
ไปข้างหน้า ();
ธง = 6;
}
การทำแผนที่รหัสเป็นดังนี้
ไปข้างหน้า -> 1
กลับ -> 2
ขวา -> 3
ซ้าย -> 4
หยุด -> 5
นักบินอัตโนมัติ -> 8
Fn1 -> 6
Fn2 -> 7
Fn3 -> 9