Ver código fonte

Enable pin activation

master
Riyyi 4 dias atrás
pai
commit
8941571fa7
  1. 4
      server/src/main.cpp

4
server/src/main.cpp

@ -80,13 +80,13 @@ void processButtons()
void setPowerPin(bool enable)
{
// digitalWrite(POWER_GATE_PIN, (enable) ? HIGH : LOW);
digitalWrite(POWER_GATE_PIN, (enable) ? HIGH : LOW);
digitalWrite(POWER_LED_PIN, (enable) ? HIGH : LOW);
}
void setResetPin(bool enable)
{
// digitalWrite(RESET_GATE_PIN, (enable) ? HIGH : LOW);
digitalWrite(RESET_GATE_PIN, (enable) ? HIGH : LOW);
digitalWrite(RESET_LED_PIN, (enable) ? HIGH : LOW);
}

Carregando…
Cancelar
Salvar