http://mbed.org/users/simon/code/TextLCD/#a53b3e2d6f1e