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
Приложение предназначено для пользователей, которые построили с дистанционным управлением Bluetooth позволило Arduino игрушечный автомобиль, но необходимо контролировать его через Bluetooth с мобильного устройства. Элементы управления и как к перечислены здесь.
http://robust-tech.blogspot.com/2016/02/arduino-remote-car-app.html
Короче говоря ниже фрагмент кода для Arduino
если (receivedChar == '1') {
вперед();
флаг = 6;
}
отображение кода, как показано ниже
Вперед -> 1
Назад -> 2
Право -> 3
Слева -> 4
Стоп -> 5
Auto Pilot -> 8
Fn1 -> 6
Fn2 -> 7
Fn3 -> 9