![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
my new gear...
Diff: actuator/aircylinder.hpp
- Revision:
- 2:e7b09385d197
diff -r 744e1f66d5dc -r e7b09385d197 actuator/aircylinder.hpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/actuator/aircylinder.hpp Sun Mar 27 04:39:16 2022 +0000 @@ -0,0 +1,14 @@ +#pragma once +#include<mbed.h> +#include<portSet.hpp> + +class aircylinder +{ +public: + aircylinder(Port port ,bool push_flag); + void push(int cylinder_num); + void pull(int cylinder_num); +private: + Port port_; + bool push_flag_; +}; \ No newline at end of file