Tag Archive > Programming

Parsing RSS on an 8-bit Micro

One of the most common questions asked of my Embedded RSS Reader is how to process the XML data of an RSS feed on the 8-bit microprocessor. In a conventional application, it is trivial to use an XML library to parse the data into a tree-like structure. In PHP5, for instance, you could simply write: [...]

Continue reading

, , , , ,

Reading RSS on the AVR

Last February, I saw an RSS Reader implemented on an AVR ATmega8, which seemed impressive but was, in reality, just a serial-controlled LCD terminal. The general consensus was that it’d be cool if this were done without the requirement for the PC – this was the topic of my third-year project at university. My Embedded [...]

Continue reading

, , , , ,

AVR Development on the Arduino

I have just started using an Arduino for my project. I hadn’t considered it as a platform before, but I am starting to love it for rapid development. It is so usable – no loose wiring to connect up programmers or power supplies – it’s all integrated into a single unit. I very nearly have [...]

Continue reading

, ,

Debugging in OpenGL

The computer scientist, Brian Wilson Kernighan once said: Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. This is well enough, but trying to do some graphics programming, using the OpenGL, [...]

Continue reading

, , ,

Good Documentation

I am not one for providing copious documentation within source code – especially when it is totally unnecessary. However, I do like to see complex structures and crazy little hacks statements are given a little qualification. Today, whilst trying to port a software library to the AVR family of microprocessors I came across a good [...]

Continue reading

, , ,

Drawing a Sphere

I have spent the morning trying to draw a wireframe sphere, using OpenGL but without the standard glu_ and glut_ extensions. I now have a sphere with a very pleasant spiral pattern on it – just a shame watching it rotate makes my head hurt!

Continue reading

, ,

50 States

The 50 States problem is a simple proposition: given 2 the 50 states of the USA, it is possible to rearrange the letters to form the names of another two states. The solution to this is elementary: North Carolina and South Dakota give South Carolina and North Dakota, but how do you make a computer [...]

Continue reading

, ,