Hi! I’m trying to load proffieOS onto a teensy board as I’m attempting to code a saber stand with some leds to show a similar blade style to the saber that perches upon it. Having no luck with getting the code to run on there so far. What defines n stuff am I missing for this to work on a teensy 4? (I don’t need sound, motion or sd card stuff, literally just want to match the led styles)
Here’s my basic config I’ve been experimenting with:
#ifdef CONFIG_TOP
#include "v3_config.h"
#define NUM_BLADES 1
#define NUM_BUTTONS 1
const unsigned int maxLedsPerStrip = 144;
#define TEENSYDUINO
#define USE_TEENSY4
#define ENABLE_WS2811
#endif
#ifdef CONFIG_PRESETS
Preset presets[] = {
{ "TeensySF", "tracks/mars.wav",
StyleNormalPtr<CYAN, WHITE, 300, 800>(), "cyan"},
};
BladeConfig blades[] = {
{ 0,
WS281XBladePtr<6, bladePin, Color8::GRB, PowerPINS<bladePowerPin2> >(),
CONFIGARRAY(presets) },
};
#endif
#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
#endif