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 NerfUS

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();
+}