ManualController
Dependents: ConfigurationVerifier
manualController.h
- Committer:
- lmarketin
- Date:
- 2021-05-07
- Revision:
- 0:abed7d1e329c
File content as of revision 0:abed7d1e329c:
#include "mbed.h" #include "SRF05.h" class ManualController { public: ManualController(PinName pinDistance, Serial* pc, SRF05* ranger, PwmOut* rangerServo, PwmOut* fan, PwmOut* fanServo, DigitalOut* greenLed, DigitalOut* redLed); void executeManualControll(); private: void hwInterruptReadDistance(); InterruptIn m_interruptDistance; Serial* m_pc; SRF05* m_ranger; PwmOut* m_rangerServo; PwmOut* m_fan; PwmOut* m_fanServo ; DigitalOut* m_greenLed ; DigitalOut* m_redLed ; };