Hi all,
can I save/buffer a word or phrase that I get via Serial.read() to share it in whole via Pushbullet or by mail? I have a Uno that passes serial data to a Wemos D1 mini. I see the data. But I don't get them forwarded. I do get them forwarded but only one character at a time.
My loop at the moment (Wemos D1 mini):
void loop() {
ArduinoOTA.handle();
server.handleClient();
if (Serial.available() > 0) {
data = Serial.read();
//sendData = (char)data;
String send = String((char)data);
Serial.print((String)send);
//sendmails((String)(sendData);
pushbullet(static_cast<String>(sendData));
}
}