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: TESTS/mocks/MockPwmOut.hpp
- Revision:
- 26:328f659fc1b3
- Parent:
- 16:fba7c8e39388
- Child:
- 42:efbb785e7740
diff -r 0f2d698ecb3e -r 328f659fc1b3 TESTS/mocks/MockPwmOut.hpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TESTS/mocks/MockPwmOut.hpp Sat Mar 11 13:44:32 2017 -0500 @@ -0,0 +1,12 @@ +#ifndef MOCK_PWM_OUT_HPP +#define MOCK_PWM_OUT_HPP + +#include "PwmOutInterface.hpp" + +class MockPwmOut : public PwmOutInterface +{ + public: + MOCK_METHOD1(pulsewidth_ms, void(int ms)); +}; + +#endif