
2nd year embedded systems project
Solenoid.h
- Committer:
- nwabiam
- Date:
- 2020-12-15
- Revision:
- 1:9d7c34bfe43e
File content as of revision 1:9d7c34bfe43e:
#ifndef Solenoid_H #define Solenoid_H #include <mbed.h> class Solenoid { public: Solenoid (PinName targetSolenoidPin); ~Solenoid (); bool SetSolenoidStatus (bool Status); //float distance private: DigitalOut solenoid; }; #endif