|
0.95-inch RGB OLED Display library
0.5
Library for the 0.95-inch RGB OLED Display library (Parallax Part #28087)
|
#include "oledc_.h"Functions | |
| void | oledc_drawLine (int x0, int y0, int x1, int y1, unsigned int color) |
| Draws a line on the screen in the specified color. More... | |
Variables | |
| char | TFTROTATION |
| int | _width |
| int | _height |
| void oledc_drawLine | ( | int | x0, |
| int | y0, | ||
| int | x1, | ||
| int | y1, | ||
| unsigned int | color | ||
| ) |
Draws a line on the screen in the specified color.
| x0 | Starting horizontal coordinate of the line, counted from the left side of the screen. |
| y0 | Starting vertical coordinate of the line, counted down from the top of the screen. |
| x1 | Ending horizontal coordinate of the line. |
| y1 | Ending vertical coordinate of the line. |
| color | Color of the pixel, in r5g6b5 format. |
| int _height |
| int _width |
| char TFTROTATION |
1.8.11