-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
In code, you have timeout set for 10.000 ms or 60.000ms but in the loop you have 100ms loop
and you only divide timeout per 10. So your timeout is 10x what is needed
for (i = 0; i < timeout/10; i++) <= This is a 10ms step ... not 100ms
{
if (digitalRead(interrupt_pin) == 0) {
status();
ret = statusCode(SIGFOX);
break;
} else {
// THIS IS A 100ms loop
digitalWrite(led_pin, HIGH);
delay(50);
digitalWrite(led_pin, LOW);
delay(50);
}
}
Metadata
Metadata
Assignees
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project