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: mbed mbed-rtos ShiftReg TextLCD
Power/Power.hpp
- Committer:
- thomasmorris
- Date:
- 2019-05-06
- Revision:
- 7:d0159f675b30
- Parent:
- 3:3700f0c29710
File content as of revision 7:d0159f675b30:
#ifndef _POWER_HPP_ #define _POWER_HPP_ //Libraries #include "mbed.h" #include "rtos.h" class POWER { public: //POWER(); POWER(PinName N1, PinName N2, PinName N3, PinName N4); ~POWER(); void Init();//Initialisation routine int Post();//Power on self test routine private: DigitalIn Muscle_1; DigitalIn Muscle_2; DigitalIn FEEDBACK_1; DigitalIn FEEDBACK_2; }; #endif//_POWER_HPP_