Added the pin outs

Dependencies:   mbed mbed-rtos ShiftReg TextLCD

Revision:
7:d0159f675b30
Parent:
6:347c1f441b94
--- a/Interface/Interface.hpp	Thu Apr 11 18:12:31 2019 +0000
+++ b/Interface/Interface.hpp	Mon May 06 22:13:28 2019 +0000
@@ -9,12 +9,13 @@
 
 
 extern Serial PC;    //TX, RX
+extern Serial Board; //TX, RX
 extern TextLCD Lcd; // rs, e, d4-d7
 //extern DigitalOut On_board_led;//Onboard LED
 class INTERFACE
 {
     public://Public member functions and variables
-    INTERFACE();
+    INTERFACE(PinName N1, PinName N2, PinName N3, PinName N4, PinName N5, PinName N6, PinName N7, PinName N8, PinName N9, PinName N10, PinName N11);
     ~INTERFACE();
     void Init();
     int Post();
@@ -26,6 +27,28 @@
     //Public Variabls
     
     private://Private member functions and variables
+    //Inputs
+    
+    //Rotary Encoder
+    DigitalIn _Rotary_Encoder_A;//N1
+    DigitalIn _Rotary_Encoder_B;//N2
+    DigitalIn _Rotary_Encoder_Button;//N3
+    
+    
+    //Buttons
+    DigitalIn _Button_1;//N4
+    DigitalIn _Button_2;//N5
+    DigitalIn _Button_3;//N6
+  
+    //MOSFET Safety Pin
+    DigitalOut _MOSFET_Safety;//Active low N7
+    
+    //Shift Register Control
+    DigitalOut _Shift_SCLK;//N8
+    DigitalOut _Shift_Latch;//N9
+    DigitalOut _Shift_Enable;//N10
+    DigitalOut _Shift_Data;//N11
+
     
     //Private Functions