Skip to content

Commit 57061e6

Browse files
econealelucasssvaz
andauthored
Update libraries/ESP32/examples/Serial/RS485_Echo_Demo/RS485_Echo_Demo.ino
Co-authored-by: Lucas Saavedra Vaz <[email protected]>
1 parent 0371080 commit 57061e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP32/examples/Serial/RS485_Echo_Demo/RS485_Echo_Demo.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
void setup() {
2525
Serial.begin(9600);
26-
delay(2000);
26+
while(!Serial) { delay(10); }
2727

2828
RS485.begin(9600, SERIAL_8N1, RS485_RX_PIN, RS485_TX_PIN);
2929
if(!RS485.setPins(-1, -1, -1, RS485_RTS_PIN)){

0 commit comments

Comments
 (0)