Converting Arduino to Mbed code

Hello,

yeah and the reason is

BR, Jan