mecha
Dependents: 2019NHK_A_manual_red 2019NHK_A_manual_red 2019NHK_A_manual_blue
Diff: towelest.h
- Revision:
- 6:9f932b9adee5
- Parent:
- 4:416d194973a3
--- a/towelest.h Mon Sep 23 12:21:49 2019 +0000 +++ b/towelest.h Thu Oct 03 08:42:09 2019 +0000 @@ -11,11 +11,9 @@ class towelest { public: - towelest(Serial* RS485,int address,PinName Limit0,PinName Limit1,PinName Limit2); + towelest(Serial* RS485,int address,PinName Limit0); void open(); //展開 void close(); //!展開 - void lift(); //機構昇降 - void descent(); //機構降下 void setPoint(int target); //pid目標値 void setPulse(int Loli); //毎ループで呼び出し void pid_compute(); //毎ループで呼び出し @@ -24,8 +22,6 @@ ikarashiMDC **Motor; PID pid; DigitalIn LimitSW0; - DigitalIn LimitSW1; - DigitalIn LimitSW2; Timer timer; float compute; float time;