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.
Dependents: CtrlMD 2017_Bteam_alpha_slave
ThrowData_MD.h
00001 #ifndef THROW_DATA_H 00002 #define THROW_DATA_H 00003 00004 #include "MotorDriver.h" 00005 00006 class ThrowData : public MotorDriver 00007 { 00008 public: 00009 ThrowData(int _max_dig = 255, bool _dir_flip = false); 00010 virtual void drive(double _pwm); 00011 virtual void drive(signed int _pwm, unsigned int max_pwm_abs = 0); 00012 int get_output(); 00013 private: 00014 int max_dig; 00015 bool dir_flip; 00016 int _target_data; 00017 }; 00018 00019 #endif
Generated on Thu Jul 14 2022 20:47:47 by
