速報APP / 教育 / Duino Joy

Duino Joy

價格:免費

更新日期:2020-01-04

檔案大小:1.3M

目前版本:1.1

版本需求:Android 4.4 以上版本

官方網站:http://fglaos.com

Email:khamlek.hsb@gmail.com

Duino Joy(圖1)-速報App

Duino Joy is simple virtual joystick to communicate with arduino via bluetooth module

View Example on how to use at https://www.instructables.com/id/Simple-RC-Car-Arduino-Nano-HC-05/

***********************

Testing

***********************

// Connection

// Arduino >>> bluetooth

// D10 (as RX) >>> Tx

// D11 (as TX) >>> Rx

#include

SoftwareSerial bluetooth(10, 11); // RX, TX

Duino Joy(圖2)-速報App

void setup() {

Serial.begin(19200); // Display to Arduino IDE Serial Monitor

bluetooth.begin(9600); // Communicate with Bluetooth module

}

void loop() {

while(bluetooth.available()) // Wait for data from bluetooth

{

char a = bluetooth.read(); // Read Data as Char from Software Serial

Serial.print("Recieved: ");

Serial.println(a); // Print data to Serial Monitor

}

}