]> git.piffa.net Git - aerei/commitdiff
Merge branch 'master' of kim:/home/git/aerei
authorAndrea Manni <andrea@piffa.net>
Thu, 23 Feb 2017 18:51:24 +0000 (19:51 +0100)
committerAndrea Manni <andrea@piffa.net>
Thu, 23 Feb 2017 18:51:24 +0000 (19:51 +0100)
esempi/snippets/lettura_servo_interrupt/lettura_servo_interrupt.ino
esempi/snippets/lettura_servo_interrupt_doppio/lettura_servo_interrupt_doppio.ino

index 59d2a744b833018dacda1cab0c362dc3719e0649..6f795bd36c1cfdebf0bb2dc9f4c9edcf6e131ea5 100644 (file)
@@ -38,7 +38,7 @@ void loop() {
 #endif
 }
 
-// Functions
+// ISR:
 void chRise() {
     attachInterrupt(0, chFall, FALLING);
     chStart = micros();
index 2cf33a844812dab0c82720b06834e775d4c7fdc2..1c966f79a6c6a4d52e6e8baca93fa27980ac3ebe 100644 (file)
@@ -57,7 +57,7 @@ void loop() {
 #endif
 }
 
-// Functions
+// ISRs:
 void chRise2() {
     attachInterrupt(0, chFall2, FALLING);
     chStart2 = micros();
@@ -67,7 +67,7 @@ void chFall2() {
     attachInterrupt(0, chRise2, RISING);
     chValue2 = micros() - chStart2;
 }
-// Seconod iterrupt
+// Secondo iterrupt
 void chRise3() {
     attachInterrupt(1, chFall3, FALLING);
     chStart3 = micros();