Hi Everyone
I have a tricree led for a lightsaber build ( blue blue white) but i cant find any wiring instructions on how to setup the board (proffie 1.5) to flash the white led on clash. does the board support this
cheers
Hi Everyone
I have a tricree led for a lightsaber build ( blue blue white) but i cant find any wiring instructions on how to setup the board (proffie 1.5) to flash the white led on clash. does the board support this
cheers
Yes, that should be simple enough.
This page show how to set it up:
https://fredrik.hubbe.net/lightsaber/v5/
But to get you started, this is a basic config that should work for you, with a couple of basic blade styles which I think should work - one is blue with white clash, one is white with blue clash. You’ll need to wire LED outputs 1 and 2 to the Blue channels, and output 3 to the White one.
#ifdef CONFIG_TOP
#include "proffieboard_v2_config.h"
#define NUM_BLADES 1
#define NUM_BUTTONS 2
#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<InOutHelper<SimpleClash<Lockup<Blast<RandomFlicker<White,Rgb<0,0,100>>,White>,AudioFlicker<Blue,White>>,Strobe<Black,White,25,25>,200>,300,800>>(),
"blue"},
{ "SmthJedi", "tracks/mars.wav",
StylePtr<InOutHelper<SimpleClash<Lockup<Blast<RandomFlicker<White,Rgb<100,100,100>>,White>,AudioFlicker<Blue,White>>,Strobe<Black,Blue,25,25>,200>,300,800>>(),
"white"},
};
BladeConfig blades[] = {
{ 0, SimpleBladePtr<CreeXPE2BlueTemplate<240>, CreeXPE2BlueTemplate<240>, CreeXPE2WhiteTemplate<550>, NoLED, bladePowerPin1, bladePowerPin2, bladePowerPin3, -1>(), CONFIGARRAY(presets) },
};
#endif
#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
Button AuxButton(BUTTON_AUX, auxPin, "aux");
#endif
Replace proffieboard_v2_config.h with proffieboard_v1_config.h for a V1.5 board.
Sorry Prof - I missed that little detail.
Thanks for the replys, will give it a try
cheers