38/
This morning, I “took a look under the hood” and looked at Adafruit_TLC59711.h. This let me see the special lingo used to operate the TLC board.
Afterwards, I did this:
This morning, I “took a look under the hood” and looked at Adafruit_TLC59711.h. This let me see the special lingo used to operate the TLC board.
Afterwards, I did this:
Comments
And, this …
And, this …
I have played around with the code in my #Arduino sketches, and I have worked out most of the effects that I was looking for.
I've also realized that this is far easier to use trying to build something with discrete electronic component.
I did what I intended to do. I came up with a "photon torpedo" launch glow-up and flash effect. Any other dynamic effect (warp, impulse) should be a variation of that effect.
I'm figuring out how to connect everything inside of a scale model, and adding sound.
The Adafruit Feather M0 Express microcontroller has a micro USB connector for power and programming, and a JST-PH2-pin socket for a LiPo 3.7V battery.
To connect to the TLC59711, we need to connect four wires (GND, Vcc/BAT, CI/SCK, and DI/MO).
To connect to the STEMMA Speaker, we need three wires (GND, POWER/BAT, and A0/SIGNAL)
We don't want to solder wires into boards in the models, so we must use connectors. But, which connectors do we get?
- JST PH 2-pin cables for the speaker
- JST XH 5-pin cables for TLC59711.