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
framework = arduino
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
upload_port = /run/media/amelia/RPI-RP2/
debug_tool = cmsis-dap
@ -22,6 +22,6 @@ monitor_speed = 115200
board_build.filesystem_size = 1m
board_build.f_cpu = 133000000L
; build_flags = -Os
; board_flags = -DWIFICC=CYW43_COUNTRY_USA
; board_flags = -DWIFICC=CYW43_COUNTRY_USA
lib_deps =
https://github.com/FastLED/FastLED#master

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

Loading…
Cancel
Save