mikalhart / IridiumSBD

Arduino library for RockBLOCK Iridium satellite modem (http://rock7mobile.com)
131 stars 52 forks source link

Improve ARM power consumption with WAIT #20

Closed jacky4566 closed 5 years ago

jacky4566 commented 5 years ago

Added wait for interrupt within the waitForATResponse loop. Drastically improve power consumption while waiting for response.

Tested on Teensy LC. Should work on all ARM processors with UART buffers.

SoftwareSerial might have issue. Untested since LC doesn't support it.