/*
Wokwi Custom UART Chip example
The chip implements a simple ROT13 letter substitution cipher:
https://en.wikipedia.org/wiki/ROT13
See https://link.wokwi.com/custom-chips-alpha for more info about custom chips
*/
void setup() {
Serial.begin(115200);
Serial1.begin(115200); // Serial1 is connected to the custom chip\
Serial.println("Data received from UART chip:");
}
void loop() {
while (Serial1.available()) {
Serial.print((char)Serial1.read());
}
String text = "11111111111111111111111111111111111111111111111111111111111";
// Uncomment to break it
// text += "1111111";
text += "2";
Serial1.println(text);
delay(1000);
}