I'm working on a sketch that will blink an LED every 4 seconds so I would like to put the Trinket M0 to sleep in between to save battery.
Where I'm having trouble is with the Include avr/sleep.h.....
I'm using 1.8.19 IDE (and tried 2.0) but in all cases, I get "File not found" and if I comment out the include, the variables that are defined in sleep.h are not found.
I've spent all day trying to resolve this and I'm sure it's something stupid I'm missing...
Any help out there ?
Thank you,
Gary Miyakawa