0.95-inch RGB OLED Display library  0.5
Library for the 0.95-inch RGB OLED Display library (Parallax Part #28087)
Functions
oledc_color565.c File Reference
#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...
 

Function Documentation

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.

Parameters
rAmount of Red in the color, range is from 0-255.
gAmount of Green in the color, range is from 0-255.
bAmount of Blue in the color, range is from 0-255.