Little Robot Friends
Arduino Library Reference
version 1.1
|
Each LRFColorValue is comprised of three bytes of data, one for each red, green and blue. The maximum value (full brightness) for each byte is 63, however we are typically using 40 to represent a high-brightness value (to save battery power). Low brightness is current defined as a value of 5. To create a custom color, play around with the values defined in LRFUtils.cpp until you've got a good match, then you can rename a LRFColor constant to use your custom color in your code. Eventually we will have a method for loading custom colors from outside this library, but not at the moment.
Definition at line 70 of file LRFUtils.h.
#include <LRFUtils.h>
Public Attributes | |
unsigned char | red |
Red value (8-bits) | |
unsigned char | green |
Green value (8-bits) | |
unsigned char | blue |
Blue value (8-bits) | |