1

Arduino question on interrupts:

For my Arduino RTC project I need to put my Arduino to sleep until interrupted by either a pin interrupt or by a single char present on the serial port (an arbitrary character) -- How may I achieve this?

I see that a pin interrupt is relatively straightforward, but I'm unable complete this by the serial port [I could poll the serial port, but this wastes energy].

Suggestions welcome

dsolimano
  • 8,870
  • 3
  • 48
  • 63
Harry Lime
  • 2,167
  • 8
  • 31
  • 53

0 Answers0