]> git.piffa.net Git - aerei/commitdiff
errata
authoreaman <eaman@pad.piffa.net>
Tue, 21 Feb 2017 12:50:10 +0000 (13:50 +0100)
committereaman <eaman@pad.piffa.net>
Tue, 21 Feb 2017 12:50:10 +0000 (13:50 +0100)
esempi/snippets/lettura_servo_interrupt/lettura_servo_interrupt.ino
esempi/snippets/lettura_servo_interrupt_doppio/lettura_servo_interrupt_doppio.ino

index 829095a6a382ff0fa06e73166359c1e53a869279..2be4d729b27011f649356c492ea73c3ca379c87d 100644 (file)
@@ -35,7 +35,7 @@ void loop() {
 #endif
 }
 
-// Functions
+// ISR:
 void chRise() {
     attachInterrupt(0, chFall, FALLING);
     chStart = micros();
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();