Enable pin activation
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user