diff --git a/M5StackCommon/Core2ToughCommon.cs b/M5StackCommon/Core2ToughCommon.cs index 37d49d76..e4e24e5d 100644 --- a/M5StackCommon/Core2ToughCommon.cs +++ b/M5StackCommon/Core2ToughCommon.cs @@ -93,15 +93,15 @@ public static bool PowerLed if (_powerLed) { - // turn ON by setting duty cycle to 100% - _power.Pwm1DutyCycleSetting1 = 10; - _power.Pwm1DutyCycleSetting2 = 10; + // turn ON by setting duty cycle to 0% + _power.Pwm1DutyCycleSetting1 = 0; + _power.Pwm1DutyCycleSetting2 = 0; } else { - // tuen OFF by setting duty cycle to 0% - _power.Pwm1DutyCycleSetting1 = 0; - _power.Pwm1DutyCycleSetting2 = 0; + // turn OFF by setting duty cycle to 100% + _power.Pwm1DutyCycleSetting1 = 10; + _power.Pwm1DutyCycleSetting2 = 10; } } }