#ifdef CONFIG_TOP #include "v3_config.h" #define NUM_BLADES 1 #define NUM_BUTTONS 3 #define VOLUME 1000 const unsigned int maxLedsPerStrip = 126; #define CLASH_THRESHOLD_G 1.0 #define ENABLE_AUDIO #define ENABLE_MOTION #define ENABLE_WS2811 #define ENABLE_SERIALFLASH #endif #ifdef CONFIG_PRESETS Preset presets[] = { { "TeensySF", "tracks/venus.wav", StyleNormalPtr(), "cyan"}, { "Samurai", "tracks/mars.wav", StylePtr >(), "blue"}, { "SmthGrey", "tracks/mercury.wav", StyleNormalPtr(), "red"}, { "SmthFuzz", "tracks/uranus.wav", StylePtr, WHITE), 300, 800> >(), "green"}, { "RgueCmdr", "tracks/venus.wav", StyleNormalPtr(), "white"}, { "TthCrstl", "tracks/mars.wav", StyleNormalPtr, BLUE, 300, 800>(), "yellow"}, { "TeensySF", "tracks/mercury.wav", StylePtr >(), "magenta"}, { "SmthJedi", "tracks/uranus.wav", StyleStrobePtr(), "strobe"} }; BladeConfig blades[] = { { 0, SimpleBladePtr(), CONFIGARRAY(presets) }, }; #endif #ifdef CONFIG_BUTTONS LatchingButton PowerButton(BUTTON_POWER, powerButtonPin, "pow"); Button AuxButton(BUTTON_AUX, auxPin, "aux"); Button Aux2Button(BUTTON_AUX2, aux2Pin, "aux2"); #endif