/*
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
Serial1.print("Uryyb, HNEG!");
Serial.println("Data received from UART chip:");
}
void loop() {
while (Serial1.available()) {
Serial.print((char)Serial1.read());
}
}