From 37a5fd070c6e4a5d4ad570599cde2d8ff791958e Mon Sep 17 00:00:00 2001 From: Luca Borsari Date: Wed, 21 Jul 2021 19:30:50 +0200 Subject: [PATCH] send p telemetry 4 times a sec --- open-led-race/open-led-race.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open-led-race/open-led-race.ino b/open-led-race/open-led-race.ino index 034f1bf..55b573b 100644 --- a/open-led-race/open-led-race.ino +++ b/open-led-race/open-led-race.ino @@ -379,7 +379,7 @@ void loop() { // Print p command!!! unsigned long nowmillis = millis(); - if( abs( nowmillis - lastmillis ) > 500 ){ + if( abs( nowmillis - lastmillis ) > 250 ){ lastmillis = nowmillis; print_cars_positions( cars ); }