Instructables

Step 9: Programming

This step was much of the project's working time. Lucky for you, if you use the same circuit as me, I've done the work for you. It may be horrendous for a skilled programmer to look at, but it does work. Sorry to people not using AVRs, because this code is meant for use in the Arduino IDE.

To those that want to change the patterns, pay attention to the sequenceLengths array. It should accurately represent the lengths of all other sequence arrays. If you want to add or remove any, adjust sequenceTotal to match, change sequenceLengths[6] to the correct number of patterns, and add a "case" to findAndWriteStep().

Feel free to ask if I've been unclear in my comments or above.
 
Remove these adsRemove these ads by Signing Up
I-NOZex2 months ago
I'm sorry, but how can i program the shifter?

I really need arduino? :S i can't find anything on google to help me...
Waiting reply, thanks

nice