2.5. ARDUINO DEVELOPMENT ENVIRONMENT 41
break;
case 0x80: //PD7
//PD7 related actions
break;
default:; //all other cases
} //end switch(new_PORTD)
} //end if new_PORTD
old_PORTD=new_PORTD; //update PORTD
}
That completes our brief overview of the C programming language. In the next section, we provide
an overview of the Arduino Development Environment. You will see how this development tool
provides a user-friendly method of quickly developing code applications for the Arduino UNO R3
processing board.
2.5 ARDUINO DEVELOPMENT ENVIRONMENT
In this section, we provide an overview of the Arduino Development Environment (ADE). We
begin with some background information about the ADE and then review its user friendly features.
We then introduce the sketchbook concept and provide a brief overview of the built-in software
features within the ADE. Our goal is to provide a brief introduction to the features. All Arduino
related features are well-documented on the Arduino homepage (www.arduino.cc). We will not
duplicate this excellent source of material but merely provide pointers to it. In later chapters, we
review the different systems aboard the Arduino UNO R3 processing board and show how that
system may be controlled using the ADE built-in features.
2.5.1 BACKGROUND
The first version of the Arduino Development Environment was released in August 2005. It was
developed at the Interaction Design Institute in Ivrea, Italy to allow students the ability to quickly put
processing power to use in a wide variety of projects. Since that time, newer versions incorporating
new features, have been released on a regular basis [www.arduino.cc].
At its most fundamental level, the Arduino Development Environment is a user friendly
interface to allow one to quickly write, load, and execute code on a microcontroller. A barebones
program need only consist of a setup() and loop() function.The Arduino Development Environment
adds the other required pieces such as header files and the main program construct. The ADE is
written in Java and has its origins in the Processor programming language and the Wiring Project
[www.arduino.cc].
In the next several sections, we introduce the user interface and its large collection of user
friendly tools. We also provide an overview of the host of built-in C and C++ software functions

Get Arduino Microcontroller, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.