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

Dependencies:   MODSERIAL mbed

Revision:
1:1d2208dce484
Parent:
0:048fbd80203e
--- a/main.cpp	Fri Sep 16 15:27:36 2016 +0000
+++ b/main.cpp	Tue Sep 20 08:43:33 2016 +0000
@@ -135,7 +135,7 @@
     
     // Create ticker and attach LED toggle function
     Ticker tick_toggle_led;
-    tick_toggle_led.attach(ToggleLed,kTimeLedToggle);
+    tick_toggle_led.attach(&ToggleLed,kTimeLedToggle);
     
     // Create ticker and attach Print function
     Ticker tick_print_serial;