UC8151 class of PicoRuby

Include

Drawable

Singleton methods

new

UC8151.new(spi: SPI, cs_pin: Integer, dc_pin: Integer,
                   rst_pin: Integer, busy_pin: Integer,
                   ?w: Integer, ?h: Integer) -> void

Instance methods

draw_text

instance.draw_text(String fontname, Integer x, Integer y, String text, ?Integer scale) -> void

fill

instance.fill(?Integer color) -> void

update

instance.update() -> void
Tags: class