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

mbed_source/TargetHitCalibrateCallback.cpp

Committer:
GaiSensei
Date:
2017-04-11
Revision:
46:853966aab733

File content as of revision 46:853966aab733:

#include "TargetHitCalibrateCallback.hpp"

TargetHitCalibrateCallback::TargetHitCalibrateCallback(Calibrator& calibrator) : 
    calibrator(calibrator)
{
}

void TargetHitCalibrateCallback::call()
{
    calibrator.on_rise();
}