School Project

Dependencies:   mbed-rtos mbed

Files at this revision

API Documentation at this revision

Comitter:
ericbisson
Date:
Tue Jan 31 19:29:50 2017 +0000
Parent:
5:e878d87782ce
Commit message:
ISR_RTC

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Jan 31 19:28:54 2017 +0000
+++ b/main.cpp	Tue Jan 31 19:29:50 2017 +0000
@@ -38,7 +38,7 @@
 unsigned short u16Last_p20 = 0;
 
 unsigned char currentTimer = 0;
-void signal_digital()
+void ISR_RTC()
 {
     currentTimer++;
     
@@ -213,7 +213,7 @@
     
     Ticker tick;
     
-    tick.attach(&signal_digital, 0.05); // tick aux 50ms
+    tick.attach(&ISR_RTC, 0.05); // tick aux 50ms
     
     while(true) {
     }