#ifndef __PIXEL_JSON_API__ #define __PIXEL_JSON_API__ /* modes: PIXELS_OFF = 0, COLOR_WHEEL_MODE = 1, COLOR_MODE = 2, PATTERN_MODE = 3 patterns: NONE = 0, RAINBOW_CYCLE = 1, THEATER_CHASE = 2, COLOR_WIPE = 3, SCANNER = 4, FADE = 5 { "mode": int, "value": int || String } */ #define JSON_MODE_NODE "mode" #define JSON_VALUE "value" #define JSON_ACTION_NODE "action" #endif