http://developer.mbed.org/teams/aigamozu/code/aigamozu_auto_ver3_1/#f5a6d26046a0