I made a thermal detonator using proffezorn’s web page and help from here.
I used the helper board he developed. I have a wiring diagram here:
Here is the code I used for the blinking:
{ "tdmod", "tracks/laptinek.wav",
StylePtr<InOutHelperTD<SimpleClash<ColorSequence<2000,
Rgb<255,0,0>,Rgb<255,255,0>,Rgb<255,0,255>,
Rgb<0,255,255>,Rgb<0,255,0>,Rgb<0,0,255>,
Rgb<255,255,0>,Rgb<0,255,255> >, RandomFlicker<WHITE, BLACK>, 6000, EFFECT_BLAST>, 100, 100, 6000, BLACK>>(),
StylePtr<InOutHelperTD<Lockup<SimpleClash<RED,RandomFlicker<RED,BLACK>, 6000, EFFECT_BLAST>, Pulsing<RED, Rgb<50,0,0>, 300>>, 100, 100, 6000>>(),
""},
and blade config:
BladeConfig blades[] = {
{ 0,
SimpleBladePtr<CH1LED,CH2LED,CH3LED,NoLED,
bladePowerPin1, bladePowerPin2, bladePowerPin3, -1>(),
SimpleBladePtr<CH1LED,NoLED,NoLED,NoLED,
bladePowerPin4, -1, -1, -1>(),
CONFIGARRAY(presets) },
};