I have warning:
Warning: 'sleep_for' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use 5s
. [since mbed-os-6.0.0] [-Wdeprecated-declarations] in "main.cpp",
If I use Online Compiler :
it build with out warning.
but offline build GCC_ARM trow an error that it does not recognize ‘s’.
mbed-os is on versinion 6.x
Thanks for advices