Этот коммит содержится в:
John Shaver 2018-12-14 09:28:49 -08:00
родитель e88568b3c7
Коммит 8d10e604f0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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.");