Just a quick post here about my first little test project for the MSP430 before I start on my main post about the Gameduino. I received an MSP430 Launchpad the other day, and for just over £4 I can’t complain about the price. it comes with two chips, a mini-usb wire and a timing crystal. The chip itself has quite small memory constraints, 2Kb flash and 128bytes RAM, but still there’s more than enough to get something done.
After installing the compiler for osx available here (Thanks to Javi, who did all the hard work in getting the launchpad compiler working on osx) and uploading the demo to ensure all was working correctly I got to work on doing something interesting with the chip. So, I’ve put together some C code that takes an unsigned char value and uses two LEDs to display the binary representation. The red LED represents 1, and the white LED represents 0, the green LED just indicates the start and end of the sequence.
Here’s a video of it displaying the number 5 in binary:
Code is below: