![]() Or maybe you can combine the Simon Says board with some magic. ![]() Another person wants to use the Simon Says he built up to control the temperature of his custom made coffee maker. One creative lady at a past workshop planned to make a night-light that says "goodnight" with a unique sound and light sequence. We find that most first time makers have more fun and are most motivated when they have a specific goal in mind. But most importantly, we hope that you can start working on a project of your own. All of the examples have good comments that will tell you a lot about how the code works. You can also browse any of the code used in our SparkFun Inventor's Kit. In the Arduino IDE, click File>Examples>Basics. If you are interested in learning more about code, we also recommend looking at some of the example sketches that come build in to the Arduino Software. Try browsing the additional examples in the Simon Says GitHub Repository written by SparkFun customer Mike Soltys. To help you out with hacking the Simon Says, here are a few notes about the pin locations of the Simon Says Plated Through Hole (PTH) version: Try experimenting with the code to see if you can change the way the Simon Says board reads the button or turns on the LED. The LED will turn OFF after one second until the button is pressed again.Īgain, you can read the grey comments to get a better understanding of how the code works. Pressing one of the buttons will change the state of an LED from OFF to ON. The file is titled, "SIMON_2_BUTTON.ino". Try opening up the Simon Says experiment example 2. This is the actual code that makes it onto your Simon Says. The most important part of all this text is the code found at the bottom of the window. Comments are actually ignored by the Arduino program, and will not be programmed onto your Simon Says board. Any text that is gray is known as comments, and will help you understand the code. Note: You can read the grey text used throughout the example code. ![]()
0 Comments
Leave a Reply. |