Skip to content

digitalWriteFast is broken on most platforms... #884

@WestfW

Description

@WestfW

It looks like digitalWriteFast (in Arduino.h) has some cut&paste errors, for example:

    if (val == LOW) {
      *out &= ~mask;                  // 1/1
    } else {                          // 1/1
      *out &= ~mask;                  // 1/1
    }   // and we know which one at compile time, so

This causes it to always set the pin LOW, regardless of arguments.
See (by .lst file inspection) on t85 and t84, but it looks like even more are broken.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions