Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager
Fork of NerfUS by
MockServomotor.hpp
00001 #ifndef MOCK_SERVOMOTOR_HPP 00002 #define MOCK_SERVOMOTOR_HPP 00003 00004 #include "ServomotorInterface.hpp" 00005 00006 class MockServomotor : public ServomotorInterface 00007 { 00008 public: 00009 MOCK_METHOD0(set_position_up, void()); 00010 MOCK_METHOD0(set_position_down, void()); 00011 MOCK_METHOD1(set_angle, void(const float angle_degree)); 00012 }; 00013 00014 #endif
Generated on Thu Jul 14 2022 01:50:38 by
1.7.2
