try nodelay on loop

simple-crash-test
Cole Deck 10 months ago
parent 36cdb91f68
commit 27d04ab9ab

@ -13,7 +13,7 @@ platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico board = pico
framework = arduino framework = arduino
platform_packages = platform_packages =
framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#c64a4a58d793ee6d24c7df7ff3ec35adac3bbb45 framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#lw
board_build.core = earlephilhower board_build.core = earlephilhower
upload_port = /run/media/amelia/RPI-RP2/ upload_port = /run/media/amelia/RPI-RP2/
debug_tool = cmsis-dap debug_tool = cmsis-dap

@ -133,7 +133,7 @@ void loop() {
// as all local functions count from 0 // as all local functions count from 0
//delay(0); //delay(0);
Serial.println("Got valid packet of size " + String(size) + " at " + String(millis()/1000.0)); Serial.println("Got valid packet of size " + String(size) + " at " + String(millis()/1000.0));
delayMicroseconds(5000); //delayMicroseconds(1000);
nopackets = 0; nopackets = 0;
} }
else { else {

Loading…
Cancel
Save