Allan Cecil / Mbed 2 deprecated Nucleo_IOReg

Dependencies:   mbed

Fork of Nucleo_IOReg by Trueserve Dot Org

Files at this revision

API Documentation at this revision

Comitter:
dwangoAC
Date:
Thu Nov 05 00:33:50 2015 +0000
Parent:
2:f12658f35bbd
Commit message:
Shift output pins by 1 to work around PH_0 not functioning.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Sep 25 21:44:22 2015 +0000
+++ b/main.cpp	Thu Nov 05 00:33:50 2015 +0000
@@ -26,9 +26,9 @@
     
 DigitalInOut out[16] = {
     PD_2, PC_11, PC_10, PC_12,
-    PH_0, PH_1, PC_2, PC_3,
-    PC_0, PC_1, PB_0, PA_4,
-    PA_1, PA_0, PB_3, PB_5
+    PH_1, PC_2, PC_3, PC_0,
+    PC_1, PB_0, PA_4, PA_1,
+    PA_0, PB_3, PB_5, PB_4
 };
 
 DigitalOut userled(LED1);