Creating a New Arduino Sketch (Program)

How do I create a new Arduino Program?

Arduino’s programs are called Sketches, so how do I create one?

Select the Arduino menu item File -> New

Arduino File New

Arduino File New

You could start entering code right after creating the new sketch but if you are planning to save it anyway why not give it a name now?

Select the menu item File -> Save As… to give your new program a name and directory location.

Setting your Preferences

You can customize your Arduino development environment so anytime you create a new program it will automatically prompt for a program name.

From the Arduino menu select File -> Preferences

Arduino Preferences Dialog

Arduino Preferences Dialog

Select the “Prompt for name when opening or creating a sketch” checkbox. You can also change the default location to save your sketches.

(c) 2009 – Vince Thompson
Advertisements

Tags: , , , ,

2 Responses to “Creating a New Arduino Sketch (Program)”

  1. Correcting Arduino Compiler Errors « DIY Robotics Lab Says:

    […] Robotics Lab Bringing Robotics Home « Learning the C Language with Arduino Creating a New Arduino Program […]

  2. Learning the C Language with Arduino « DIY Robotics Lab Says:

    […] Create a new program named: LEDBlink […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: