SLEEP example - LDmicro/LDmicro GitHub Wiki
Work time (blinking Y1) is 3.5 s.
SLEEP operation is implemented as Power-down Sleep Mode for AVR. See MCU datasheet.
SLEEP operation don't affect MCU IO pins and others LDmicro operations.
Wake up by external interrupt on INT0(PD2), INT1(PD3) pins.
Tested in Proteus.
Tested Atmega328 at Arduino Nano board.
Addition 1. SLEEP operation is implemented for PIC's MCU.
Tested only with PIC16F877 in Proteus.
Wake-up owing to external interrupt on rising edge of RB0/INT pin.
SLEEP operation don't affect MCU IO pins and others LDmicro operations.
Addition 2. SLEEP operation is implemented for ATmega32U4.
Tested in Proteus v8.4 slep_ATmega32U4.zip
Wake up by external interrupt on INT0(PD2), INT1(PD3) pins.
Addition 3. WDT, LOCK, SLEEP operation is tested at PIC16F628.
According to the Internet
Any questions to [email protected]