Skip to content

Ticker ms and multiples Timers #125

Open
@sabas1080

Description

@sabas1080

Hi

I am modifying SX126x-Arduino library to work with this core, but i need to work with Ticker in milliseconds, I have only been able to work in microseconds

https://github.com/ElectronicCats/SX126x-Arduino/blob/add_support_arduino_mbed/src/boards/mcu/nrf52840/timer.cpp#L86

I tried with

timeoutTickers[idx].attach((mbed::callback(obj->Callback)), timerTimes[idx] / 1e3);

but timers not work

Version for ESP32: https://github.com/ElectronicCats/SX126x-Arduino/blob/master/src/boards/mcu/espressif/timer.cpp
Version for nrf Adafruit Core: https://github.com/ElectronicCats/SX126x-Arduino/blob/master/src/boards/mcu/nrf52832/timer.cpp

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions