0

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

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

1 Answer 1

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 and acknowledge you have read our privacy policy.

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