Skip to content

Commit

Permalink
Typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
PradaJoaquin committed Aug 22, 2023
1 parent 26d6744 commit 2d011cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automatic_blinds/automatic_blinds.ino
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ void cha_switch_on_setter(const homekit_value_t value) {
void blind_motor_up() {
// Invert this and all other digitalWrites to the relay if yours activates with HIGH intead of LOW.
digitalWrite(PIN_BLIND_MOTOR_DOWN, HIGH);
delay(50); // To make sure the other pin is OFF before chaging the other.
delay(50); // To make sure the other pin is OFF before changing the other.
digitalWrite(PIN_BLIND_MOTOR_UP, LOW);
}

void blind_motor_down() {
// Invert this and all other digitalWrites to the relay if yours activates with HIGH intead of LOW.
digitalWrite(PIN_BLIND_MOTOR_UP, HIGH);
delay(50); // To make sure the other pin is OFF before chaging the other.
delay(50); // To make sure the other pin is OFF before changing the other.
digitalWrite(PIN_BLIND_MOTOR_DOWN, LOW);
}

Expand Down

0 comments on commit 2d011cf

Please sign in to comment.