Timeout

This example demonstrates how to enable timeout using the LcdMenu library

After the specified time, the LCD display will turn off and will turn back on after an action is performed.

The default timeout is 10 seconds.

Configuration

In the setup function, use the following function to configure the timeout duration.

menu.setupLcdWithMenu(0x27, mainMenu, )

Usage

In the loop ensure that you have the following in the first line

menu.updateTimer();

Complete Code

Go to .../examples/MenuTimeout/MenuTimeout.ino

Last updated