Hello,
what mean can’t working? - No output or wrong output? Do you use same MbedOS version in both?
can’t working
BR , Jan