X-Git-Url: http://git.piffa.net/web?a=blobdiff_plain;f=esempi%2Fstate_throttle%2Fstate_throttle.ino;fp=esempi%2Fstate_throttle%2Fstate_throttle.ino;h=7220876b990f6d5a69ef3e6b11cb2ebea5e17179;hb=e9b0b744f9163dac319022d1b2552f49fe1e6bc0;hp=23e3a2d0fafbc948a2b1f2d0b6d53f04dc33dc62;hpb=8ad30ab0dc403bb19c8554cad53fa5296fc61b91;p=aerei diff --git a/esempi/state_throttle/state_throttle.ino b/esempi/state_throttle/state_throttle.ino index 23e3a2d..7220876 100644 --- a/esempi/state_throttle/state_throttle.ino +++ b/esempi/state_throttle/state_throttle.ino @@ -39,7 +39,7 @@ void loop() { // Lettura Throttle channel thrIn = pulseIn(thrPin, HIGH, 25000); - thr = constrain(map(thrIn, 983, 2000, 0, 255), 0, 255) ; // 983 potrebbe campbiare con + thr = constrain(map(thrIn, 983, 2000, 0, 255), 0, 255) ; // 983 potrebbe cambiare // con un altra ricevente, fare una calibrazione nel caso. // FMS dispatcher @@ -75,4 +75,5 @@ void loop() { delay(random(20, 100)); break; } + }