NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void GetDisplayNormal ( const byte  x,
const byte  line,
unsigned int  cnt,
byte &  data[] 
)
inline

Read pixel data from the normal display buffer.

Read "cnt" bytes from the normal display memory into the data array. Start reading from the specified x, line coordinate. Each byte of data read from screen memory is a vertical strip of 8 bits at the desired location. Each bit represents a single pixel on the LCD screen. Use TEXTLINE_1 through TEXTLINE_8 for the "line" parameter.

Parameters
xThe desired x position from which to read pixel data.
lineThe desired line from which to read pixel data.
cntThe number of bytes of pixel data to read.
dataThe array of bytes into which pixel data is read.
Examples:
ex_GetDisplayNormal.nxc.