Hardware Reference
In-Depth Information
at once, much like chaining a bunch of if statements together. To try it
out, click File Examples 05.Control switchCase in the IDE.
• To learn more about serial communication, take a look at the examples
under File Examples 04.Communication in the IDE. Many of the ex-
amples demonstrate how to make Arduino interact with your computer
and include code for Processing , which is a simple programming lan-
guage and development environment. Much like Arduino, it makes get-
ting started really easy. Not only that, but the IDE should feel familiar to
you because the Arduino IDE is based on the Processing IDE!
• Try writing a text adventure game that you can play via serial. Maybe it
can also incorporate some physical components. Perhaps you could
light a real lamp when the player instructs your game to LIGHT LAMP .
Search WWH ::




Custom Search