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: PID QEI ikarashiMDC recieveController omni
gakugaku.h
00001 #ifndef GAKUGAKU_H 00002 #define GAKUGAKU_H 00003 00004 #include "mbed.h" 00005 #include "ikarashiMDC.h" 00006 00007 class gakugaku { 00008 private: 00009 ikarashiMDC *swingMotor,*angleMotor; 00010 bool swinging; 00011 double anglingSpeed; 00012 DigitalOut *rscs,*deploy; 00013 Timeout timer; 00014 void deployStop(); 00015 00016 public: 00017 gakugaku(Serial* serial_); 00018 void update(); 00019 void setAnglingSpeed(const double& anglingSpeed_); 00020 void toggleSwing(); 00021 void Deploy(); 00022 00023 }; 00024 00025 00026 00027 #endif /* end of include guard: GAKUGAKU_H */
Generated on Sun Jul 31 2022 12:04:46 by
