/*
To load a custom firmware:
1. Press "F1" inside the code editor
2. Choose "Load HEX File and Start Simulation…"
3. Select the desired bin/elf/uf2 file: an application compiled with the ESP-IDF,
MicroPython firmware, etc.
Enjoy!
*/
#define tx 13
#define out_tx 12
void setup() {
Serial.begin(115200);
Serial.println("Please view the instructions in the source code!");
pinMode(13, INPUT);
pinMode(out_tx, OUTPUT);
}
void loop() {
if (digitalRead(tx)!= HIGH){
digitalWrite(out_tx, HIGH);
delay(200);
digitalWrite(out_tx, LOW);
delay(200);
}
Serial.println(tx);
}