AVRactivePower
Save battery energy by slowing the clock and/or switching off un-needed modules in the microcontroller.
Установка
Последняя опубликованная версия- Скачайте архив — реестр отдает его уже проверенным.
- В Arduino IDE выберите «Скетч → Подключить библиотеку → Добавить .ZIP библиотеку».
- Укажите скачанный файл — библиотека появится в списке доступных.
SHA-256:3b51b6ff06b8fe4ff366c76f94273dd2a5ea0325afeadfbc87585c439c578508AVRactivePower-0.5.1-3b51b6ff.zipОписание
For ATmega168P/328P/1284P/2560 and ATtiny44/84/45/85 based projects, especially breadboard Arduinos. Don't use analogRead()? Power-off the internal analog-to-digital converter (ADC). Not using Serial or Wire or SPI? Power-off the internal USART, SPI, TWI or USI hardware blocks. Power them back on again when you do need them. Waiting around but can't sleep the processor? Slow down the system clock - the AVR uses a quarter the power at 1 MHz compared to 16 MHz. NOTE: Use Narcoleptic or LowPower for the big battery savings: sleeping the microcontroller. And remove the power LED. This library is for that final percent of battery life. C++ alternative to avr/power.h.