Skip to content

After calling tone() and noTone(), the digital output by digitalWrite() may not be controlled properly for the pins specified by these functions. #7

@MikiyaKobayashi

Description

@MikiyaKobayashi

■ Corresponding version
v.1.2.2 and Before v.1.2.2

■ API function affected by defect

  • digitalWrite()

    • digitalWrite() is a function that sets the output of a specified pin to HIGH or LOW
    • The first argument is the pin and the second argument is the state of the output
  • tone()

    • tone() is a function that generates a square wave with a specified frequency.
    • The first argument is the pin, the second argument is the frequency, and the third argument is the time to maintain the output.

■ Contents and Occurrence conditions
After executing tone() and noTone(), if the pins specified by these functions were in the HIGH state, setting them to LOW with digitalWrite() would not switch the output.

■ Workaround
None

■ Permanent measures
Scheduled to be fixed in next version.

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