Timeline for Low Power library messing up serial text
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 21, 2015 at 21:26 | comment | added | Nick Gammon♦ | Let us know if this doesn't totally solve it. There may be other issues as well like the serial line stopping being driven high. | |
Aug 21, 2015 at 19:15 | comment | added | Majenko | @Gerben In pre-1.0.0 Serial.flush wiped the transmit buffer. In 1.0.0 and onwards it blocks until the transmit buffer is empty and the UART hardware has transmitted the last bit. | |
Aug 21, 2015 at 19:05 | comment | added | Gerben | I didn't know of that method. Thanks. @qwertz using a higher baudrate than 9600 will decrease the transmit time, so reduce power usage. | |
Aug 21, 2015 at 15:17 | vote | accept | qwertz | ||
Aug 21, 2015 at 15:16 | comment | added | Majenko | It will cause a slight delay before it goes to sleep while the serial data is sent out. It won't affect the actual sleeping though, no. It just means the "on" time will be slightly longer - long enough to finish what it's doing. | |
Aug 21, 2015 at 15:10 | comment | added | qwertz | Thank you very much for this fast answer. Would this affect the power saving of the library? I assume not but better be sure :) | |
Aug 21, 2015 at 15:08 | history | answered | Majenko | CC BY-SA 3.0 |