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_setTextSize (char s) |
Sets the size of the font to be used. Range is from 1 to 3. Size (1) is 5x7 (6x8 spacing) pixels, size (2) is 11x15 (12x16 spacing) pixels and size (3) is 15x23 (16x24 spacing) pixels. More... | |
void | oledc_setTextColor (unsigned int c, unsigned int b) |
Sets the color of the font and the color of the background (highlighting) to be used. Setting the text color and text background to the same color will make the background color transparent. More... | |
void | oledc_setTextWrap (char w) |
Toggles automatic wrapping of text printed to the screen. (0) turns wrapping off, (1) turning wrapping on. More... | |
Variables | |
char | wrap |
unsigned int | textsize |
unsigned int | textcolor |
unsigned int | textbgcolor |
void oledc_setTextColor | ( | unsigned int | c, |
unsigned int | b | ||
) |
Sets the color of the font and the color of the background (highlighting) to be used. Setting the text color and text background to the same color will make the background color transparent.
c | Color of the font, in r5g6b5 format. |
b | Color of the font's background, in r5g6b5 format. To make the background transparent, set to the same color as the font itself. |
void oledc_setTextSize | ( | char | s | ) |
Sets the size of the font to be used. Range is from 1 to 3. Size (1) is 5x7 (6x8 spacing) pixels, size (2) is 11x15 (12x16 spacing) pixels and size (3) is 15x23 (16x24 spacing) pixels.
void oledc_setTextWrap | ( | char | w | ) |
Toggles automatic wrapping of text printed to the screen. (0) turns wrapping off, (1) turning wrapping on.
unsigned int textbgcolor |
unsigned int textcolor |
unsigned int textsize |
char wrap |