Hi Eric:
We completely agree that we need more example programs. Right now there are a handful on the
Sample Programs
page and (as you already know) a couple of projects up on
Instructables
.
Any type of input device can be used to trigger an input pin - it doesn't have to be a button or a switch. It could be a motion sensor, light sensor, or another microcontroller (like an Arduino). The input pin is really just looking for an edge transition, so if you have a photo resistor circuit that puts out a digital signal you should be able to use that in place of a button. If you want to read multiple inputs there is a
snippet of code
on the forum that explains how to do that. This allows you to read an entire port and then jump to a place in the program depending on what the inputs are. In the case of modifying the talking book idea, you would read the port and then jump to page1, page2, etc.
Yes, you did indeed read that you can trigger events directly from audio files. Basically, you can insert markers in the audio and use these markers to trigger external events, like controlling a motor or LEDs, or to trigger internal events like jumping to another place in the program. We'll put together a sample program showing how to do this and get it posted for you in the next couple of days. Another option is to cut up your audio file into smaller pieces. Then you could play part1, turn on the LED, play part2, turn on the motor, and so on. This executes quickly enough in the program so that you don't hear the edits in the audio. Both approaches work well, and the approach you use depend on what your needs are in the program.
Thanks for the awesome feedback and questions, and we appreciate that you're experimenting with Foxonix and seeing what it can do. We'll help you as much as we can to get your projects up and running.