Browse Source

Added missing pwm param

button
John Shaver 3 years ago
parent
commit
8d10e604f0
  1. 2
      runSchedule.js

2
runSchedule.js

@ -103,7 +103,7 @@ function render() {
case "green":
if(ledRed.getPwmDutyCycle()) {
DEBUG && console.log("Turning off Red LED.");
return ledRed.hardwarePwmWrite(0);
return ledRed.hardwarePwmWrite(HZ, 0);
}
if(!ledGreen.digitalRead()) {
DEBUG && console.log("Turning on Green LED.");

Loading…
Cancel
Save