// libraries to be included#include <AltSoftSerial.h>
AltSoftSerial altSerial; void setup() { Serial.begin(9600); while (!Serial); Serial.println("AltSoftSerial wird getestet"); altSerial.begin(9600); altSerial.println("Hello World"); } void loop() { char textSenden; if (Serial.available()) { textSenden = Serial.read(); altSerial.print(textSenden); } if (altSerial.available()) { textSenden = altSerial.read(); Serial.print(textSenden); } }