Open ranm opened 8 years ago
in "sim900_wait_readable"
instead of : while((unsigned long) (millis() - timerStart) > wait_time * 1000UL)
should be
while((unsigned long) (millis() - timerStart) < wait_time * 1000UL)
(the comparison is the wrong way so it never waits ....)
ranm,
Thank you, the mistake has been corrected...
Hey , Are you merging this to the non suli project as well ?
in "sim900_wait_readable"
instead of : while((unsigned long) (millis() - timerStart) > wait_time * 1000UL)
should be
while((unsigned long) (millis() - timerStart) < wait_time * 1000UL)
(the comparison is the wrong way so it never waits ....)