Screen

The screen is a powerful output device, it is capable of rendering text, colours and complex graphics.

The screen size is:

160x128

The screen is organised with the top left hand side being the origin point of (0,0).

The width is 160 pixels, the height at 128 pixels.

The following code will write a word on the screen.

The following code will set the whole screen green.

The code that sets the color_palette uses the value 0x00FF00 - where each two values represent the red, green and blue colours.

There are a large number of examples that can be used with your display, have a look at the following article (ignore the ePaper references).

Bouncing Text

Last updated