Corrected the order of serial setup and serial print
This commit is contained in:
parent
1d0a1577f9
commit
fce92285e3
@ -50,9 +50,9 @@ IRAM_ATTR void NRFIRQsHandler(void *p)
|
||||
|
||||
void setup() {
|
||||
//We do not need to read on the serial bus
|
||||
Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY);
|
||||
delay(1000);
|
||||
Serial.println("\nSetup begin");
|
||||
Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY);
|
||||
//We set the RXD0 as a GPIO
|
||||
pinMode(D9, FUNCTION_3);
|
||||
pinMode(D9, INPUT_PULLUP);
|
||||
|
@ -45,9 +45,9 @@ IRAM_ATTR void NRFIRQsHandler(void *p)
|
||||
|
||||
void setup() {
|
||||
//We do not need to read on the serial bus
|
||||
Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY);
|
||||
delay(1000);
|
||||
Serial.println("\nSetup begin");
|
||||
Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY);
|
||||
//We set the RXD0 as a GPIO
|
||||
pinMode(D9, FUNCTION_3);
|
||||
pinMode(D9, INPUT_PULLUP);
|
||||
|
Loading…
Reference in New Issue
Block a user