I need to put my Arduino Due into sleep mode in order to consume less power. My Arduino Due receives IR data and does some work with it, but I need to make it sleep until there is no data. If data appears it should wake up and do something with data and go back to sleep mode.
Is there any way to do this? I would be grateful for any help.