A few weeks ago I posted this to the Arduino forum:
That forum led me to the Teensy and a Prop Shield LC. I now have them wired like this:
with the boxes in red showing the thru pins:
This is my attempt to utilize the LC shield memory/audio capabilities and maximize the other pins as inputs.
Right now, I am doing my best to find some example code to get to a point where I can begin to write code such as:
Eventually I would love to utilize a button matrix to absolutely maximize the inputs, however I am just trying to get this working with this setup.
Many of the examples I have viewed seem to utilize the Audio toolkit as shown here:
https://www.pjrc.com/teensy/td_libs_Audio.html
...and I believe I am meant to be converting the audio files to a raw data format for the teensy to read? but I cant find a specific example with the teensy and Prop board LC... and I would appreciate any help to point me in the right direction!
Thanks!
In a nutshell, I am trying to change the voice of toys to a different language.
There are many toys I am hoping to change, but I am looking to re-purpose the:
- Battery pack (often 3x AA batteries)
- Built-in speaker
- Inputs (buttons, switches)
That forum led me to the Teensy and a Prop Shield LC. I now have them wired like this:
with the boxes in red showing the thru pins:
This is my attempt to utilize the LC shield memory/audio capabilities and maximize the other pins as inputs.
Right now, I am doing my best to find some example code to get to a point where I can begin to write code such as:
Code:
if (pin X)
{
// play Audio File A from LC shield
}
else if (pinY & pinZ)
{
// play Audio File B from LC shield
}
else
{
// do Thing C
}
Eventually I would love to utilize a button matrix to absolutely maximize the inputs, however I am just trying to get this working with this setup.
Many of the examples I have viewed seem to utilize the Audio toolkit as shown here:
https://www.pjrc.com/teensy/td_libs_Audio.html
...and I believe I am meant to be converting the audio files to a raw data format for the teensy to read? but I cant find a specific example with the teensy and Prop board LC... and I would appreciate any help to point me in the right direction!
Thanks!