http://mbed.org/teams/ST/code/EPD_GDE021A1/#6ee9c1afd6ec