I am using the package "Raspberry Pi Pico - Arduino Mbed OS ..." with an original Raspberry Pico and have a little problem with "Ticker". I get a compiler warning for the statement
myTick.attach_us (& attime, 200000);
The very long warning:
d: \ Arduino \ RaspberryPico \ TickerTest_2 \ TickerTest_2.ino: 13: 35: warning: 'void mbed :: TickerBase :: attach_us (mbed :: Callback <void ()>, us_timestamp_t)' is deprecated: Pass a chrono duration, not an integer microsecond count. For example use 10ms rather than 10000. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
myTick.attach_us (& attime, 200000);
^
Warnings are not a disaster, but I want to eliminate them. What is a "chrono duration"? I've tried a few things with the number 200,000 without success.
But most important: It works.