Added the pin outs

Dependencies:   mbed mbed-rtos ShiftReg TextLCD

Committer:
thomasmorris
Date:
Mon May 06 22:13:28 2019 +0000
Revision:
7:d0159f675b30
Parent:
3:3700f0c29710
Added the pinouts

Who changed what in which revision?

UserRevisionLine numberNew contents of line
thomasmorris 3:3700f0c29710 1 #ifndef _POWER_HPP_
thomasmorris 3:3700f0c29710 2 #define _POWER_HPP_
thomasmorris 3:3700f0c29710 3
thomasmorris 3:3700f0c29710 4 //Libraries
thomasmorris 3:3700f0c29710 5 #include "mbed.h"
thomasmorris 3:3700f0c29710 6 #include "rtos.h"
thomasmorris 3:3700f0c29710 7
thomasmorris 3:3700f0c29710 8
thomasmorris 3:3700f0c29710 9 class POWER
thomasmorris 3:3700f0c29710 10 {
thomasmorris 3:3700f0c29710 11 public:
thomasmorris 3:3700f0c29710 12 //POWER();
thomasmorris 3:3700f0c29710 13 POWER(PinName N1, PinName N2, PinName N3, PinName N4);
thomasmorris 3:3700f0c29710 14 ~POWER();
thomasmorris 3:3700f0c29710 15 void Init();//Initialisation routine
thomasmorris 3:3700f0c29710 16 int Post();//Power on self test routine
thomasmorris 3:3700f0c29710 17
thomasmorris 3:3700f0c29710 18 private:
thomasmorris 3:3700f0c29710 19
thomasmorris 7:d0159f675b30 20 DigitalIn Muscle_1;
thomasmorris 7:d0159f675b30 21 DigitalIn Muscle_2;
thomasmorris 7:d0159f675b30 22 DigitalIn FEEDBACK_1;
thomasmorris 7:d0159f675b30 23 DigitalIn FEEDBACK_2;
thomasmorris 3:3700f0c29710 24
thomasmorris 3:3700f0c29710 25 };
thomasmorris 3:3700f0c29710 26 #endif//_POWER_HPP_