Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef CONFIG_TOP
- #include "proffieboard_v2_config.h"
- #define NUM_BLADES 1
- #define NUM_BUTTONS 1
- #define VOLUME 1000
- const unsigned int maxLedsPerStrip = 144;
- #define CLASH_THRESHOLD_G 1.0
- #define ENABLE_AUDIO
- #define ENABLE_MOTION
- #define ENABLE_WS2811
- #define ENABLE_SD
- #endif
- #ifdef CONFIG_PRESETS
- Preset presets[] = {
- { "TeensySF", "tracks/venus.wav",
- StylePtr<Red>(),"red"},
- { "SmthJedi", "tracks/mars.wav",
- StylePtr<Green>(), "green"},
- { "SmthGrey", "tracks/mercury.wav",
- StylePtr<Blue>(), "blue"}
- };
- BladeConfig blades[] = {
- { 0, WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), CONFIGARRAY(presets) },
- };
- #endif
- #ifdef CONFIG_BUTTONS
- LatchingButton PowerButton(BUTTON_POWER, powerButtonPin, "pow");
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement