|
Public Member Functions |
| otWS2812 (int bit, int xsize, int ysize) |
| otWS2812 () |
| Create the otWS2812 object.
|
void | mirror (bool x, bool y) |
void | setOffset (int val) |
void | show () |
| Copy the display buffer to the display itself All available graphic functions work on memory buffers. In order for the operations carried out to be made visible, this function must be called.
|
void | clear () |
void | setPixel (int x, int y, U8 r, U8 g, U8 b) |
void | line (int x0, int y0, int x1, int y1, U8 r, U8 g, U8 b) |
void | rect (int x0, int y0, int x1, int y1, U8 r, U8 g, U8 b) |
void | rectFill (int x0, int y0, int x1, int y1, U8 r, U8 g, U8 b) |
void | circle (int x0, int y0, int ray, U8 r, U8 g, U8 b) |
void | circleFill (int x0, int y0, int ray, U8 r, U8 g, U8 b) |
void | rectRound (int x, int y, int w, int h, int ray, U8 r, U8 g, U8 b) |
void | rectRoundFill (int x, int y, int w, int h, int ray, U8 r, U8 g, U8 b) |
void | triangle (int x0, int y0, int x1, int y1, int x2, int y2, U8 r, U8 g, U8 b) |
void | digit (char dig, int x0, int y0, U8 r, U8 g, U8 b) |
| Draw a colored character. Draw a character form these: 01234567890 :-+. Used character matrix is 3x5 (WxH).
|
int | string (const char *txt, int x0, int y0, U8 r, U8 g, U8 b) |
| Draw a string. Not all characters are displayed see digit.
|
void | setBitmap (const U8 *bitMap, U8 div) |
| Copy a bitmap into display area Bitmap must be a sequence of R,G,B,0xFF.
|