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
TESTS/mocks/MockPwmOut.hpp@51:6bf268cd1a1b, 2017-04-12 (annotated)
- Committer:
- Maxime Dupuis
- Date:
- Wed Apr 12 10:33:32 2017 -0400
- Revision:
- 51:6bf268cd1a1b
- Parent:
- 42:efbb785e7740
Update tests to ignore target hits before 750ms threshold
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Maxime Dupuis |
16:fba7c8e39388 | 1 | #ifndef MOCK_PWM_OUT_HPP |
Maxime Dupuis |
16:fba7c8e39388 | 2 | #define MOCK_PWM_OUT_HPP |
Maxime Dupuis |
16:fba7c8e39388 | 3 | |
Maxime Dupuis |
16:fba7c8e39388 | 4 | #include "PwmOutInterface.hpp" |
Maxime Dupuis |
16:fba7c8e39388 | 5 | |
Maxime Dupuis |
16:fba7c8e39388 | 6 | class MockPwmOut : public PwmOutInterface |
Maxime Dupuis |
16:fba7c8e39388 | 7 | { |
Maxime Dupuis |
16:fba7c8e39388 | 8 | public: |
Maxime Dupuis |
42:efbb785e7740 | 9 | MOCK_METHOD1(pulsewidth_us, void(int us)); |
Maxime Dupuis |
16:fba7c8e39388 | 10 | }; |
Maxime Dupuis |
16:fba7c8e39388 | 11 | |
Maxime Dupuis |
16:fba7c8e39388 | 12 | #endif |