We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdab115 commit ab76652Copy full SHA for ab76652
M5StackCommon/Core2ToughCommon.cs
@@ -93,15 +93,15 @@ public static bool PowerLed
93
94
if (_powerLed)
95
{
96
- // turn ON by setting duty cycle to 100%
97
- _power.Pwm1DutyCycleSetting1 = 10;
98
- _power.Pwm1DutyCycleSetting2 = 10;
+ // turn ON by setting duty cycle to 0%
+ _power.Pwm1DutyCycleSetting1 = 0;
+ _power.Pwm1DutyCycleSetting2 = 0;
99
}
100
else
101
102
- // tuen OFF by setting duty cycle to 0%
103
- _power.Pwm1DutyCycleSetting1 = 0;
104
- _power.Pwm1DutyCycleSetting2 = 0;
+ // turn OFF by setting duty cycle to 100%
+ _power.Pwm1DutyCycleSetting1 = 10;
+ _power.Pwm1DutyCycleSetting2 = 10;
105
106
107
0 commit comments