For those of you taking @zmetzing class on mbed this blog post may proove interesting.
Arduino to mbed