|
def | __init__ (self, port) |
| Initialize the class with the i2c address of your TFTPack. More...
|
|
def | rgb_hex565 (self, RGB) |
|
def | print (self, data) |
|
def | write_command (self, command) |
| Writes command to TFTpack. More...
|
|
def | clear_display (self) |
| Clears the TFTPack display.
|
|
def | backlight (self, state) |
| Toggels the TFTPack display Backlight.
|
|
def | get_touch (self) |
|
def | run_demo (self) |
| Run demo mode of TFTPack display.
|
|
def | invert_display (self) |
| invert_display mode of TFTPack display
|
|
def | print_string (self, data_string) |
| splash_display mode of TFTPack display
|
|
def | print_number (self, number) |
|
def | print_float (self, number) |
|
def | set_curser_xy (self, position) |
| set_curser at xy of TFTPack display
|
|
def | set_color (self, Frgb, Brgb=[0, 0, 0]) |
| set_color of TFTPack display text to forground[R,G,B] background[R,G,B]
|
|
def | set_font_size (self, font, size) |
| set_font_size of TFTPack display text
|
|
def | set_rotation (self, rotation) |
| set_rotation of TFTPack display
|
|
def | draw_line (self, start, end, RGB) |
| draw_line on TFTPack display from start to finish with Color RGB
|
|
def | draw_pixel (self, position, RGB) |
|
def | draw_bitmap (self, position, flip, name) |
|
def | draw_circle (self, center, radius, RGB, fill) |
| draw_circle on TFTPack display from center of radieus with Color RGB, W/WO fill
|
|
def | draw_rectangle (self, topleft, width, hight, radius, RGB, fill) |
| draw_rectangle on TFTPack display at topleft width and hight with curved corner of radius and with Color RGB, W/WO fill
|
|
def | draw_triangle (self, vertex1, vertex2, vertex3, RGB, fill) |
| draw_triangle on TFTPack display from vertex1 ,vertex2 and vertex3 with Color RGB, W/WO fill
|
|