Hausautomatisierungs-Platine + Arduino-Software
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
322 B

#include <SoftwareSerial.h>
int baud = 19200;
int sTx = 4;
int sRx = 5;
SoftwareSerial mySerial(sRx,sTx);
void setup(){
Serial.begin(115200);
mySerial.begin(baud);
Serial.println("Receiver ready");
}
void loop(){
if (mySerial.available() > 0){
char c = mySerial.read();
Serial.print(c);
}
}