Initialer Commit:

Es gibt einen Sender und einen Empfänger, die miteinander reden können.
Das Senden geschieht im Moment noch ohne Kollisions-Überwachung.

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2023-07-16 12:00:40 +02:00
commit 60a90ae9ed
2 changed files with 43 additions and 0 deletions

19
Receiver/Receiver.ino Normal file
View File

@@ -0,0 +1,19 @@
#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);
}
}