Example solution Minor Biorobotics 2016 University of Twente, Dept. of Biomechanical Engineering Homework set 2, Exercise 1.

Dependencies:   MODSERIAL mbed

Files at this revision

API Documentation at this revision

Comitter:
megrootens
Date:
Tue Sep 20 08:42:57 2016 +0000
Parent:
0:66b7dc06a323
Commit message:
missing "&" in attaching Ticker

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Sep 16 15:26:34 2016 +0000
+++ b/main.cpp	Tue Sep 20 08:42:57 2016 +0000
@@ -52,7 +52,7 @@
     
     // Create ticker and attach LED toggle function
     Ticker tick_toggle_led;
-    tick_toggle_led.attach(ToggleLed,kTimeLedToggle);
+    tick_toggle_led.attach(&ToggleLed,kTimeLedToggle);
     
     while (true);
 }