ST7565

Public Functions

Type

Name

ST7565 (PinName MOSI, PinName MISO, PinName SCLK, PinName A0, PinName RST, PinName CS)

void

void

void

st7565_command (uint8_t c)

void

st7565_data (uint8_t c)

void

void

void

void

setpixel (uint8_t x, uint8_t y, uint8_t color)

uint8_t

getpixel (uint8_t x, uint8_t y)

void

fillcircle (uint8_t x0, uint8_t y0, uint8_t r, uint8_t color)

void

drawcircle (uint8_t x0, uint8_t y0, uint8_t r, uint8_t color)

void

drawrect (uint8_t x, uint8_t y, uint8_t w, uint8_t h, uint8_t color)

void

fillrect (uint8_t x, uint8_t y, uint8_t w, uint8_t h, uint8_t color)

void

drawline (uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1, uint8_t color)

void

drawchar (uint8_t x, uint8_t line, char c)

void

drawstring (uint8_t x, uint8_t line, char * c)

void

drawstring_P (uint8_t x, uint8_t line, const char * c)

void

drawbitmap (uint8_t x, uint8_t y, const uint8_t * bitmap, uint8_t w, uint8_t h, uint8_t color)

void

drawcharPos (uint8_t x, uint8_t y, char c)

void

drawstringPos (uint8_t x, uint8_t y, const char * c)

Public Functions Documentation

function ST7565

ST7565::ST7565 (
    PinName MOSI,
    PinName MISO,
    PinName SCLK,
    PinName A0,
    PinName RST,
    PinName CS
)

function st7565_init

void ST7565::st7565_init (
    void 
)

function begin

void ST7565::begin ()

void ST7565::st7565_command (
    uint8_t c
)

function st7565_data

void ST7565::st7565_data (
    uint8_t c
)

void ST7565::st7565_set_brightness ()

function clear_display

void ST7565::clear_display (
    void 
)

function clear

void ST7565::clear ()

function display

void ST7565::display ()

function setpixel

void ST7565::setpixel (
    uint8_t x,
    uint8_t y,
    uint8_t color
)

function getpixel

uint8_t ST7565::getpixel (
    uint8_t x,
    uint8_t y
)

function fillcircle

void ST7565::fillcircle (
    uint8_t x0,
    uint8_t y0,
    uint8_t r,
    uint8_t color
)

function drawcircle

void ST7565::drawcircle (
    uint8_t x0,
    uint8_t y0,
    uint8_t r,
    uint8_t color
)

function drawrect

void ST7565::drawrect (
    uint8_t x,
    uint8_t y,
    uint8_t w,
    uint8_t h,
    uint8_t color
)

function fillrect

void ST7565::fillrect (
    uint8_t x,
    uint8_t y,
    uint8_t w,
    uint8_t h,
    uint8_t color
)

function drawline

void ST7565::drawline (
    uint8_t x0,
    uint8_t y0,
    uint8_t x1,
    uint8_t y1,
    uint8_t color
)

function drawchar

void ST7565::drawchar (
    uint8_t x,
    uint8_t line,
    char c
)

function drawstring

void ST7565::drawstring (
    uint8_t x,
    uint8_t line,
    char * c
)

function drawstring_P

void ST7565::drawstring_P (
    uint8_t x,
    uint8_t line,
    const char * c
)

function drawbitmap

void ST7565::drawbitmap (
    uint8_t x,
    uint8_t y,
    const uint8_t * bitmap,
    uint8_t w,
    uint8_t h,
    uint8_t color
)

function drawcharPos

void ST7565::drawcharPos (
    uint8_t x,
    uint8_t y,
    char c
)

function drawstringPos

void ST7565::drawstringPos (
    uint8_t x,
    uint8_t y,
    const char * c
)

The documentation for this class was generated from the following file: D:/w/hw-libs/\_libs\_/libraries/ST7565.h

Last updated