Function keepActive(bool)

Function Documentation

void keepActive(bool newValue)

Set the hardware to stay active (avoid entering deepsleep) or no (may enter deepsleep). Deepsleep is a low-power mode: hardware is almost shut-off. It can be woken-up by touching the screen.

Parameters

newValue – true: stay active; false: may enter deepsleep;