| | |
- Method resolution order:
- Nokia5110
- pyparts.parts.base_part.BasePart
- __builtin__.object
Methods defined here:
- __del__(self)
- __init__(self, spi, dc, rst, led)
- Creates a Nokia5110 display.
Args:
spi: SPI peripheral object to communicate with the display over.
dc: Digital output. Used to toggle between data and command modes.
rst: Digital output. Reset pin.
led: LED object. Controls the backlight.
- clear(self)
- display_image(self, image)
- enable(self, contrast=50, bias=4)
- reset(self)
- reset_cursor(self)
- send_command(self, command)
- send_data(self, data)
- send_extended_command(self, command)
- set_backlight(self, duty_cycle)
- set_bias(self, bias)
- set_contrast(self, contrast)
- set_cursor(self, x, y)
Data descriptors defined here:
- height
- is_enabled
- lines
- width
Data descriptors inherited from pyparts.parts.base_part.BasePart:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|