Pixie Chroma
Documentation for the easiest 5x7 LED displays for Arduino!
|
Go to the source code of this file.
Functions | |
char * | dtoa (double input, char *buffer, int precision) |
Homebrew C function to convert double precision floats to char*. (Arduino Forum link) More... | |
Variables | |
void(* | anim_func )(PixieChroma *_p, float delta) |
Used to store the pointer to any preset/custom animation functions the library needs to call during show();. More... | |
const int8_t xy_template[77] | PROGMEM |
Used as a template by calc_xy() to build the XY coordinate map for accessing 1D LEDS in a 2D context. More... | |
const uint8_t | gamma8 [] |
Used as a fast lookup table for gamma correction. More... | |
Contains utility arrays/functions for internal use, such as the gamma correction LUT.
Last Updated by Connor Nishijima on 4/14/22
Definition in file pixie_utility.h.
char * dtoa | ( | double | input, |
char * | buffer, | ||
int | precision | ||
) |
Homebrew C function to convert double precision floats to char*. (Arduino Forum link)
input | Double value to convert |
buffer | char* to store resulting string in |
precision | How many places after the decimal point will be converted |
Definition at line 64 of file pixie_utility.h.
void(* anim_func) (PixieChroma *_p, float delta) | ( | PixieChroma * | _p, |
float | delta | ||
) |
Used to store the pointer to any preset/custom animation functions the library needs to call during show();.
Definition at line 19 of file pixie_utility.h.
const int8_t xy_template [77] PROGMEM |
Used as a template by calc_xy() to build the XY coordinate map for accessing 1D LEDS in a 2D context.
Definition at line 22 of file pixie_utility.h.
const uint8_t gamma8[] |
Used as a fast lookup table for gamma correction.
Definition at line 37 of file pixie_utility.h.