class documentation

class Page(FrameBuffer):

Constructor: Page()

View In Hierarchy

Display Page Class

The display is organised into 4 pages. It is based on the FrameBuffer class.

If using the default Framebuffer text each page holds 1 line of text. The text is written to the page using the text() method.

Method __init__ Construct a page.
Method data_buff Get the data buffer
Instance Variable _data_buff Undocumented
Instance Variable _data_buff_mv Undocumented
def __init__(self):

Construct a page.

This allocates creates a framebuffer with the buffer allocated here. The buffer is 128 bytes wide and 8 lines high. The first byte is reserved for the command / data flag. The rest of the buffer is used for the display data.

def data_buff(self):

Get the data buffer

This returns a memory view of the buffer content

Returns
Data buffer
_data_buff =

Undocumented

_data_buff_mv =

Undocumented