]> git.piffa.net Git - aerei/blobdiff - aerei/palla/prototipo/prototipo.ino
prot palla
[aerei] / aerei / palla / prototipo / prototipo.ino
index a03c08c64187d2e14bf8085e511dc88afb66b81a..061b081363d9753e7713d5c97ae0ee5b16c4f63d 100644 (file)
@@ -5,8 +5,6 @@ Prototipo: F8 Bearcat
 Output:
    3 RGB PWM sotto
    1 PWM Motore
-//   2 LED ai lati con lampeggio alternato
-//   2 LED alle estremita ali
 
 Input:
     2 interrupts per throttle e alettone
@@ -62,15 +60,17 @@ Serial.begin(9600);
 
 void loop() {
     sotto.Red();
+    motore.set(0);
 delay(500);
 sotto.Off();
     sotto.Green();
+    motore.set(150);
 delay(500);
 sotto.Off();
     sotto.Blue();
+    motore.set(250);
 delay(500);
 sotto.Off();
-motore.UD(3000);
 
 #ifdef DEBUG
     Serial.print("PIN2: ");