Turn the full display OFF

Description

  This commmand do multiple tasks: 1) turn off backlight, 2) turn off display panel, 3)turn MCU to sleep. it only consume few uA after the command finished.

  The display restore the previous status of backlight and contents on the screen after woke up.

To wake up the MCU: any new data received on serial port will wake up the MCU, but the first few bytes of data could be received incorret, so use few bytes of dummy data before real commands.

Usage:

Direct:

"DNALL"

Arduino:

void moduleOff(void)

C:

void Digole_moduleOff(void)

Parameters:

none

Return:

none

Example (Arduino):

mydisp.moduleOff(); //turn whole display off
mydisp.write(0); //wake up the display
mydisp.write(0);

Example(direct)

serial.writeString("DNALL"); //turn whole display off
serial.write(0); //wake up the display
serial.write(0);

Changelog

Version Description
   

See Also