after pin

Dependencies:   mbed-rtos mbed

Fork of BAE_vr2_gingerbread by sakthi priya amirtharaj

Revision:
3:3d9e5f48b0c1
Parent:
2:7aede71f4c22
--- a/HK.cpp	Wed Dec 17 09:46:36 2014 +0000
+++ b/HK.cpp	Wed Dec 17 09:52:27 2014 +0000
@@ -3,16 +3,15 @@
  
 //GPIO pins used=> D2-D12, A0-A1
 
-DigitalOut SelectLinesA[]={D2,D3,D4,D5};//to mux1=>voltage mux
-DigitalOut SelectLinesB[]={PTB18,PTB19,PTC10};//to mux2=>current mux(differential mux)
-DigitalOut SelectLinesC[]={PTC0,PTC13,PTC6,PTC16};//to mux3=>temp mux
+DigitalOut SelectLinesA[]={PIN43,PIN44,PIN45,PIN46};//to mux1=>voltage mux
+DigitalOut SelectLinesB[]={PIN56,PIN57,PIN58,PIN59};//to mux2=>current mux(differential mux)
+DigitalOut SelectLinesC[]={PIN64,PIN65,PIN66,PIN67};//to mux3=>temp mux
 
 //--------------------------------------------MSB is SelectLines[0],LSB is SelectLines[3]-------------------------------- 
 
-AnalogIn CurrentInput(A0); // Input from Current Mux
-AnalogIn VoltageInput(A1); // Input from Voltage Multiplexer
-AnalogIn TemperatureInput(A2); /*Input from Temperature Multiplexer,thermistor Multiplexer- same multiplexer for both(lines 1-4 for thermistor,line 0 for temperature sensor)*/
- 
+AnalogIn CurrentInput(PIN53); // Input from Current Mux
+AnalogIn VoltageInput(PIN54); // Input from Voltage Multiplexer
+AnalogIn TemperatureInput(PIN55); /*Input from Temperature Multiplexer,thermistor Multiplexer- same multiplexer for both(lines 1-4 for thermistor,line 0 for temperature sensor)*/