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: Sensors/Camera/Camera.cpp
- Revision:
- 23:a34af501ea89
- Parent:
- 0:a6a169de725f
--- a/Sensors/Camera/Camera.cpp Thu Nov 29 19:45:49 2018 +0000 +++ b/Sensors/Camera/Camera.cpp Fri Nov 30 15:41:05 2018 +0000 @@ -11,7 +11,7 @@ void Camera::start() { - serial.attach(this, &Camera::receive, Serial::RxIrq); + serial.attach(callback(this, &Camera::receive), Serial::RxIrq); // ping // should now get ACK\r or NACK\r