Question.4
After uploading the code below to an Arduino UNO. Which of the following statements is correct?
Code:
#include <avr/sleep.h> void setup() { sleep_enable(); sleep_mode(); sleep_disable(); } void loop() { }
Select Answer
The MCU enters sleep mode but never wakes up
The MCU enters sleep mode, immediately wakes up, and continues execution
The MCU enters deep sleep (Power-down mode)
The code won’t compile due to the missing sleep mode selection