Pixie Chroma
Documentation for the easiest 5x7 LED displays for Arduino!
Pixie_Chroma.h
Go to the documentation of this file.
1 
10 /*
11 
12  ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
13 
14  ██ ██ ██ ██ ██ ██ ██
15 
16  ██ ██ ██ ██ ██ ██ ██
17 
18  ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
19 
20  ██ ██ ██ ██ ██ ██
21 
22  ██ ██ ██ ██ ██ ██
23 
24  ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
25 
26  ██████ ██ ██ ██████ ██████ ███ ███ █████
27  ██ ██ ██ ██ ██ ██ ██ ████ ████ ██ ██
28  ██ ███████ ██████ ██ ██ ██ ████ ██ ███████
29  ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
30  ██████ ██ ██ ██ ██ ██████ ██ ██ ██ ██
31 
32  by @LixieLabs
33 
34  ----------------------------------------------------------------------------------------------------
35 
36  Welcome to the source code of the Pixie Chroma library!
37 
38  "PixieChroma.h" is the main file, which loads all others, including
39  the pixie_chroma_internal.h/.cpp that contain the PixieChroma class definitions.
40 
41  ----------------------------------------------------------------------------------------------------
42 */
43 
44 #include "Arduino.h" // Needed for things like uint8_t typedefs
45 
46 #if defined(ARDUINO_ARCH_ESP8266) || defined(ARDUINO_ARCH_ESP32)
47  #define FASTLED_ESP8266_RAW_PIN_ORDER
48  #include "Ticker.h" // Ticker for optional automated show() calls
49 #else
50  #error "This library currently only supports boards with an ESP8266 or ESP32 processor."
51 #endif
52 
53 #if defined(ARDUINO_ARCH_ESP32)
54  #define FASTLED_ESP32_I2S true
55  #define FASTLED_RMT_MAX_CHANNELS 4
56  #define FASTLED_ESP32_FLASH_LOCK 1
57 #endif
58 
59 #define FASTLED_INTERNAL // As in: INTERNALize your thoughts about how we bang bits when you go to compile, FastLED.
60 #include "FastLED.h" // Apart from some issues, it's my tool of choice for WS2812B/compatibles because it's actually amazingly useful
61 
62 #include "utility/pixie_palettes.h" // ----- Color Palettes
63 #include "utility/pixie_font.h" // --------- ASCII font
64 #include "utility/pixie_icons.h" // -------- Bitmap icon pack
65 #include "utility/pixie_animations.h" // --- Preset animation routines
66 #include "pixie_chroma_internal.h" // ------ Main library code