Convert Arduino Code to Mbed code

even if i put this it still The same error i dont now what is the reason of probleme