![](/media/cache/profiles/2012_sf_avc_095.jpg.50x50_q85.jpg)
Code for autonomous rover for Sparkfun AVC. DataBus won 3rd in 2012 and the same code was used on Troubled Child, a 1986 Jeep Grand Wagoneer to win 1st in 2014.
Dependencies: mbed Watchdog SDFileSystem DigoleSerialDisp
Diff: UI/Beep/Beep.cpp
- Revision:
- 23:a34af501ea89
- Parent:
- 0:a6a169de725f
--- a/UI/Beep/Beep.cpp Thu Nov 29 19:45:49 2018 +0000 +++ b/UI/Beep/Beep.cpp Fri Nov 30 15:41:05 2018 +0000 @@ -25,7 +25,7 @@ _pwm.period(1.0/freq); _pwm.write(0.5); // 50% duty cycle - beep on - toff.attach(this,&Beep::nobeep, time); // time to off + toff.attach(callback(this, &Beep::nobeep), time); // time to off }