Test Code - Keyestudio Ks0428 Manual

Table of Contents

Advertisement

www.keyestudio.com

(2) Test Code

/*
keyestudio Mini Tank Robot v2.0
lesson 14.1
bluetooth test
http://www.keyestudio.com
*/
char ble_val; //character variables, used to save the value of
Bluetooth reception
void setup() {
Serial.begin(9600);
}
void loop() {
if(Serial.available() > 0) //judge if there is data in buffer area
208

Advertisement

Table of Contents
loading

Table of Contents