Skip to content

attachInterrupt() Mode explanation has confusing spacing #376

Closed
@cattledogGH

Description

@cattledogGH

In attachInterrupt.adoc there text with spacing which doesn't not make clear that HIGH is valid for Due, Zero and MKR1000 boards only. The space should be after the line for FALLING and not right before the line for HIGH.

Four constants are predefined as valid values:
LOW to trigger the interrupt whenever the pin is low,
CHANGE to trigger the interrupt whenever the pin changes value
RISING to trigger when the pin goes from low to high,
FALLING for when the pin goes from high to low.
The Due, Zero and MKR1000 boards allows also:

HIGH to trigger the interrupt whenever the pin is high

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