Get Display Information

Description 

Get the Width, Height and color depth information from the display.

Usage:

Direct:

"WHO"

Arduino:

void getDisplay(void)

C:

void Digole_getDisplay(void)

 

Note: This function can't run in commands set.

Example (Arduino):

 

cleanBuffer(); //clear receiving buffer

mydisp.getDisplay(); 
int width=mydisp.readInt();
int height=mydisp.readInt();
char isColor=mydisp.read1();
char colorDepth=mydisp.read1();

Changelog

Version Description
V7 function was added.

See Also