Hello, World!

Welcome to this new blog of mine! I'm teaching myself embedded programming[1], and I decided to write about every step I'm taking. To get started, I ordered an Arduino Due, which arrived just this morning.

Because getting started with Arduino is pretty easy and the process is well-documented on the Arduino website, I don't feel the need to get into it too much. So, let's get right to the point. The first program I ran on my Due:

int led = 13;

void setup() {
	pinMode(led, OUTPUT);

void loop() {
	digitalWrite(led, HIGH);
	digitalWrite(led, LOW);

In the world of non-embedded programming, the traditional first program is one that prints "Hello, World!" or something similar. On embedded platforms, printing is usually not that straight-forward, so I wrote[2] something simpler. The program above blinks the Due's built-int LED, and keeps doing so until I cut the power.

A humble start, but good enough for my first post. You can always get the latest version of my code from GitHub. Hope to see you next time!