Servomotor
Dependents: ServomotorTests NerfUSTarget
Servomotor.hpp
00001 #ifndef SERVOMOTOR_HPP 00002 #define SERVOMOTOR_HPP 00003 00004 #include "PwmOutInterface.hpp" 00005 #include "ServomotorInterface.hpp" 00006 00007 class Servomotor : public ServomotorInterface 00008 { 00009 public: 00010 Servomotor(PwmOutInterface &pwm_out); 00011 virtual void set_position_up(); 00012 virtual void set_position_down(); 00013 virtual void set_angle(const float angle_degree); 00014 00015 float up_angle; 00016 00017 private: 00018 PwmOutInterface &pwm_out; 00019 }; 00020 00021 #endif
Generated on Thu Jul 14 2022 19:16:36 by
1.7.2