0

I need to put arduino in sleep mode. I did not find the library avr/sleep.h . From where to download it.

  • 1
    Just use #include <avr/sleep.h>. – Gerben Oct 27 '15 at 16:17
  • 1
    Why didn't you find it? Please post your code that proves this point. – Nick Gammon Oct 29 '15 at 6:45
3

avr/sleep.h is part of the compiler. You don't need to download it.

There are other libraries that act as a wrapper to it to make life easier:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.