Headless Boot Of Raspberry Pi Using DHCP

I’ve been meaning to do something with this amazing little machine for a long time. It really appeals to me because you can use it just like an embedded target device – in other words, you can do embedded programming at home for very little cost.

This tutorial walks you through the set-up of your Pi without all those pesky peripherals, like a keyboard and monitor.

This is known as a headless boot, and it’s a basic embedded technique for dealing with target devices.

Read more

Getting Started With C Programming – Hello World Tutorial

If you’ve always wanted to dabble in C, but never quite gotten around to it, have a read through this and give it a go.

It is much easier than you might think (easier now, in fact, than it ever has been), to write your first C program, and there is something so deliciously inviting about the language that once you get started you’ll soon be solving world issues with your code.

To follow along with me:

You will need

  1. A computer running a Linux variant (I use Fedora)
  2. A compiler
  3. This walkthrough

Read more

Simple ncurses Console Game

I wrote a simple ncurses game in C++ on Fedora.

I’ll actually be releasing the code and talking about how to build the game as part of a new Eclipse-C++ course I’m currently creating (sign up to my mailing list if you’d like updates on this).

It was pretty straightforward (once I finally got the ghost AI working properly – breadth first search anyone?). Ahem.

Anyway – here’s a little video I made of the game.

I cropped the screen area to get rid of distractions, which means the quality suffers a little bit, but you get the idea. And you’ve got to luuurve the cheesy music provided by iMovie…

Enjoy!