Skip to content

Document the ARDUINO_* constants #956

Open
@alranel

Description

@alranel

The official Arduino cores define a set of constants that can be used to write more portable sketches and code by identifying the architecture and board being used.

We have architecture-specific constants such as:

  • ARDUINO_ARCH_AVR
  • ARDUINO_ARCH_SAMD

As well as board-specific constants such as:

  • ARDUINO_GIGA
  • ARDUINO_UNOR4_WIFI

We should add a page to the language reference documenting all the available constants.

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