• I just checked and Serial1 does have an _options as well - but perhaps it doesn't have it if it was auto-initialised at boot.

    setup serial again when the watch triggers (rx goes high).

    You will likely lose the first byte when this happens... but otherwise it'd be ok. Other option is to use Software serial, which won't draw extra power.

    will this actually save power?

    Yes :)

    why the uart eats power anyway - because of TX?

    It's the RX I believe - the UART has to keep the high speed oscillator on, and that eats loads of power.

  • perhaps it doesn't have it if it was auto-initialised at boot

    oh, I see, that might be it, will check, thanks, I certainly remember not seeing it

    You will likely lose the first byte when this happens... but otherwise it'd be ok

    Never mind, I always press enter anyway when attaching serial adapter Also I hoped RX might go high even when just attaching the adapter so it could be ready before typing anything but it really does not matter if first byte is lost.

    Will try software serial too, interesting idea.

About

Avatar for fanoush @fanoush started