![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
NerfUS mobile node that manages a target for the Nerf gun firing range
Dependencies: LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager
Fork of NerfUS by
Diff: mbed_source/TargetHitCalibrateCallback.cpp
- Revision:
- 46:853966aab733
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed_source/TargetHitCalibrateCallback.cpp Tue Apr 11 03:49:04 2017 +0000 @@ -0,0 +1,11 @@ +#include "TargetHitCalibrateCallback.hpp" + +TargetHitCalibrateCallback::TargetHitCalibrateCallback(Calibrator& calibrator) : + calibrator(calibrator) +{ +} + +void TargetHitCalibrateCallback::call() +{ + calibrator.on_rise(); +}