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 | |
unsigned int | oledc_color565 (char r, char g, char b) |
Generates a 2-byte (16-bit) color code (RRRRRGGGGGGBBBBB format) for use with the OLED screen. More... | |
unsigned int oledc_color565 | ( | char | r, |
char | g, | ||
char | b | ||
) |
Generates a 2-byte (16-bit) color code (RRRRRGGGGGGBBBBB format) for use with the OLED screen.
r | Amount of Red in the color, range is from 0-255. |
g | Amount of Green in the color, range is from 0-255. |
b | Amount of Blue in the color, range is from 0-255. |