O'Reilly logo

Arduino Internals by Dale Wheat

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Step by Step

Let’s go through the basic steps of programming your Arduino to perform a trivial task: blinking an LED. The actual step-by-step guide for this simple but important exercise is given in Chapter 5. This section only covers the main topics without going into specific, implementation-specific details.

Step 1: Write Some Code

Most beginning Arduino programmers don’t write their first sketch (Arduino program) by themselves. This is true of most programming languages. There is almost always a traditional, pared-down example exercise that is easy enough to complete in a single sitting yet complex enough to demonstrate that something is actually happening.

A Trivial Example in C

In the C programming language, on which the Arduino programming ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required