Skip to content
Neon22 edited this page Dec 29, 2013 · 3 revisions

The inbuilt LCD driver has a number of functions defining its behaviour:

lcd.clear()     # clears the ecreen
lcd.reset(x,y)  # clears the pixel at x,y to a 0 or empty state
lcd.set(x,y)    # sets the pixel on at position x,y
lcd.get(x,y)    # returns a 0 or 1 indicating the off/on state of the pixel at x,y
lcd.show()      # updates the display and forces a redraw.

!!how do we set the mode for a given lcd device. !! if its byte mapped instead of pixel mapped what do we get back from a get()

Example:

lcd.clear()
Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy