Game of Life: my tour of multi-threading and OpenGL

It’s long overdue that I try my hand at writing a multi-threaded program. Being a wanna-be game technology developer, it’s past time for me to learn to use OpenGL for graphics as well. So why not roll both of these learning exercises in to one? If you’re not familiar with Conways Game of Life, [see […]

Release of Teensy_sPWM Library v0.1

Today I’m making available the first “complete” version of the software-based pulse-width-modulation library I’ve been working on for a few weeks for use in my upcoming Teensy 2.0 projects. Key features include high-frequency PWM, and the ability to apply independent PWM to all output capable pins on the Teensy. It is not thoroughly tested, so […]

Hex string to binary bytes conversion function

I’ve been working on an assembler for the byte-code to a virtual machine for a few days. During this process, I encountered the need to convert  hex strings such as “AFEE5C” to their binary equivalent, each 8-bit hex value (eg. “FF”) being single bytes equivalent to a single char in C. So I wrote a […]