diff --git a/STM32/libraries/BoardExamples/examples/Discovery407VG/Blink_allLeds/Blink_allLeds.ino b/STM32/libraries/BoardExamples/examples/Discovery407VG/Blink_allLeds/Blink_allLeds.ino index 6cf64fb..ab86033 100644 --- a/STM32/libraries/BoardExamples/examples/Discovery407VG/Blink_allLeds/Blink_allLeds.ino +++ b/STM32/libraries/BoardExamples/examples/Discovery407VG/Blink_allLeds/Blink_allLeds.ino @@ -14,7 +14,7 @@ const uint8_t Led[] = {GREENLED, ORANGELED, REDLED, BLUELED, REDLEDOTGOVERCURREN void setup() { for (int n = 0; n < NUMLEDS; n++) pinMode(Led[n], OUTPUT); - //pinMode(REDLEDOTGOVERCURRENT,PULL_DOWN); // needed to protect STMPS2141 FAULT output from shortcutting PC5 on power fault + //pinMode(REDLEDOTGOVERCURRENT,PULL_UP); // needed to protect STMPS2141 FAULT output from shortcutting PC5 on power fault } void setLed(uint8_t n, uint8_t state) diff --git a/STM32/libraries/BoardExamples/examples/Discovery429ZI/Blink_allLeds/Blink_allLeds.ino b/STM32/libraries/BoardExamples/examples/Discovery429ZI/Blink_allLeds/Blink_allLeds.ino index 20845e8..fe025b7 100644 --- a/STM32/libraries/BoardExamples/examples/Discovery429ZI/Blink_allLeds/Blink_allLeds.ino +++ b/STM32/libraries/BoardExamples/examples/Discovery429ZI/Blink_allLeds/Blink_allLeds.ino @@ -14,7 +14,7 @@ const uint8_t Led[] = {GREENLED, REDLED, OTGFSOC_LED}; void setup() { for (int n = 0; n < NUMLEDS; n++) pinMode(Led[n], OUTPUT); - //pinMode(OTGFSOC_LED,PULL_DOWN); // needed to protect STMPS2141 FAULT output from shortcutting PC5 on power fault + //pinMode(OTGFSOC_LED,PULL_UP); // needed to protect STMPS2141 FAULT output from shortcutting PC5 on power fault } void setLed(uint8_t n, uint8_t state)