Hello, I am translating translation using Google Translate because my english is bad:
my question is: I'm using the bluetooth module through the appinventor to stream data,
but I'm sending only one data, how do I send two data?
if(Serial.available()>0){
char clock = Serial.read();
//char name = Serial.read();
delay(100);
}
lesept
February 17, 2019, 8:32pm
2
Send them separated by a comma ',' and when you read them on the serial port search for the comma to separate them again
system
February 18, 2019, 11:12am
3
Read the documentation for the read() method. Your code will not work when you try to send more than one char for each value.
Required reading:
Serial Input Basics - updated
J-M-L
February 22, 2019, 7:02pm
5
who is sending what? is your arduino sending data to the phone or the opposite?
J-M-L:
who is sending what? is your arduino sending data to the phone or the opposite?
Android app is sending to arduino