Treehouse Mbed Team / Mbed 2 deprecated APS_1U5x

Dependencies:   mbed

Revision:
20:5de24e4ae1c5
Parent:
11:01dcfb29fbc4
Child:
27:650cffb6c8ff
--- a/src/all_io.cpp	Fri Dec 14 00:32:33 2018 +0000
+++ b/src/all_io.cpp	Tue Jan 08 22:05:53 2019 +0000
@@ -34,11 +34,16 @@
 //
 // Slots 12 to 0 are activated with the wr_out signals
 // wr_out[13] = slots[12:0]
-BusOut wr_out(PC_12, PC_11, PC_10, PC_9, PC_8, PC_7, PC_6, PA_15, PA_14, PA_13, PA_12, PA_11, PA_10); //RK: Need to change ADC inputs to PC_0-PC_5
+// BusOut signals are specified LSB first
+BusOut wr_out(PA_10, PA_11, PA_12, PA_13, PA_14, PA_15, PC_6, PC_7, PC_8, PC_9, PC_10, PC_11, PC_12); //RK: Need to change ADC inputs to PC_0-PC_5
 
 // en_out are binary weighted signals that activate groups of DC-DC converters on the slot cards.
 // en_out[6] = {en32, en16, en8, en4, en2, en1}
-BusOut en_out(PA_9, PA_8, PA_7, PA_6, PC_14, PA_4); //RK: debug 11/26/2018
+//BusOut en_out(PA_9, PA_8, PA_7, PA_6, PC_14, PA_4); //RK: debug 11/26/2018
+//BusOut signals are specified LSB first
+BusOut en_out(PA_4, PC_13, PA_6, PA_7, PA_8, PA_9);
+DigitalIn pc14(PC_14);
+
 
 // Expansion port signals
 // eport[16] = eport[18:3]