concept Arduino in category arduino

This is an excerpt from Manning's book Arduino in Action.
At the moment, your Arduino is just a board with some electronic components on it. To make it do some useful work, you need to give it instructions, which is why you need the Arduino software IDE. The Arduino software IDE provides everything required for programming the Arduino, including a number of example programs or sketches that demonstrate how to connect it to and communicate with some common devices, such as LEDs, LCDs, and some sensors.
You’ll be glad to know that, just like the hardware, the software for Arduino is open source and can be freely downloaded from http://arduino.cc/en/Main/Software. Just make sure you download the correct version for your system. Versions of the IDE are available for Windows, Mac OS X, and Linux. For full installation instructions for each platform see appendix A.
It’s important to familiarize yourself with the IDE because it’s where you’ll write all your code. In the world of Arduino, a block of code is called a sketch. A sketch gives an Arduino a list of instructions and the Arduino goes off and sketches out your idea. The IDE helps to hide much of the complexity of the Arduino, making it much easier to develop projects.
The focus of this chapter isn’t iOS programming but instead the fundamentals of how to connect the Arduino to your iOS device. In this chapter, which is for those programming on a Mac only, we’re going to look at using the Arduino with an iPhone or iPad.