Hardware Reference
In-Depth Information
•
Examples
: This selection has a treasure trove of example programs created by the
Arduino community. The IDE comes with a number of basic examples, but as an
additional functionality associated with HW, others can place examples there as
well.
Chapter 4
,
Accessing the GPIO Pins
, will cover this in more detail.
•
Close
: This is self-explanatory; it will close the open sketch.
•
Save
and
Save As…
: These allow you to save a sketch to a file. Generally, these
will be appended with the
.ino
extension to differentiate them from other files.
•
Upload
: You've already used the
Upload
menu; it has the same function as click-
ing the
Upload
button directly on the IDE. This will compile and send your code
to your Arduino.
•
Upload Using Programmer
: This is used only when you want an external pro-
grammer to upload code to Arduino. This is sometimes used when you have ac-
cess to an external programmer and don't want to use the Arduino bootloader. To
know more about this case, visit
http://Arduino.cc/en/Hacking/Program-
•
Page Setup
and
Print
: These allow you to set up and print your sketch.
•
Preferences
: This brings up a set of selections to set defaults, including where to
store your sketches, the default language, and other settings that you normally
don't need to change.
If you click on the
Edit
tab, you will see the following options: