Open this program in the mbed Compiler, where you can edit it and compile it for your hardware.
Download this program as .zip file.
Control of mbed using OSC. Based on code from the Make Controller. Right now you can turn the onboard LEDs on/off and toggle 8 digital out pins. More I/O will be done in the future.