Skip to content

Commit

Permalink
not wroking
Browse files Browse the repository at this point in the history
  • Loading branch information
loan-mgt committed Jun 17, 2023
1 parent 6338cbe commit e6ab8a0
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions verylowsun/verylowsun.ino
Original file line number Diff line number Diff line change
Expand Up @@ -178,24 +178,25 @@ void manageAutoDoor() {
break;
}
*/
noInterrupts();
//noInterrupts();
Serial.print("openingDoor: ");
Serial.print(openingDoor);

yield();
Serial.print(" Light?: ");
Serial.print(isLightFulfill);

Serial.print(" Time?: ");
Serial.println(isTimeFulfill);
Serial.print(isTimeFulfill);
yield();

//Serial.print(" Light&Time?: ");
//Serial.println(isLightAndTimeFulfill);
Serial.print(" Light&Time?: ");
Serial.println(isLightAndTimeFulfill);

//Serial.print("isLightOrTimeFulfill: ");
//Serial.println(isLightOrTimeFulfill);
/*
*/
interrupts();
//interrupts();


if (openingDoor) {
Expand Down Expand Up @@ -229,23 +230,25 @@ void manageAutoDoor() {
break;
}*/

noInterrupts();
//noInterrupts();
Serial.print("closingDoor: ");
Serial.print(closingDoor);

yield();
Serial.print(" Light?: ");
Serial.print(isLightFulfill);

Serial.print(" Time?: ");
Serial.println(isTimeFulfill);
Serial.print(isTimeFulfill);
yield();

//Serial.print(" Light&Time: ");
//Serial.println(isLightAndTimeFulfill);
Serial.print(" Light&Time: ");
Serial.println(isLightAndTimeFulfill);

//Serial.print("isLightOrTimeFulfill: ");
//Serial.println(isLightOrTimeFulfill);
/**/
interrupts();
//interrupts();



if (closingDoor) {
Expand Down

0 comments on commit e6ab8a0

Please sign in to comment.