Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

clockCyclesPerMicrosecond, clockCyclesToMicroseconds(a), microsecondsToClockCycles(a) missing from Arduino.h #101

@tjpetz

Description

@tjpetz

The functions clockCyclesPerMicrosecond, clockCyclesToMicroseconds(a), microsecondsToClockCycles(a) are missing from Arduino.h. These functions/defines are present in the other cores (e.g. AVR, SAM, SAMD, ...).

Some libraries (e.g. Adafruit DHT_Sensor_Library, and others on GitHub) use one or more of these functions. This results in an undefined error when building for the Nano 33 BLE.

Do you consider this a bug in the core or an incorrect assumption that these are defined by some library creators?

If these should be defined in the core I'm happy to submit a PR to add them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions