]> git.piffa.net Git - aerei/blobdiff - esempi/snippets/lettura_servo_interrupt_doppio/lettura_servo_interrupt_doppio.ino
errata
[aerei] / esempi / snippets / lettura_servo_interrupt_doppio / lettura_servo_interrupt_doppio.ino
index 9ea67fe4cf4a842b32a3276702e115151e9fcd9d..7626b7058c310cf63453f8fb9e401a8fc51aabad 100644 (file)
@@ -53,7 +53,7 @@ void loop() {
 #endif
 }
 
-// Functions
+// ISRs:
 void chRise2() {
     attachInterrupt(0, chFall2, FALLING);
     chStart2 = micros();
@@ -63,7 +63,7 @@ void chFall2() {
     attachInterrupt(0, chRise2, RISING);
     chValue2 = micros() - chStart2;
 }
-// Seconod iterrupt
+// Secondo iterrupt
 void chRise3() {
     attachInterrupt(1, chFall3, FALLING);
     chStart3 = micros();