Skip to content

SCL and SDA cannot be used in pinMode() and digitalRead(). #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SuguruHarada64 opened this issue Aug 8, 2024 · 0 comments
Closed
Labels
applies-to-v1.0.0 bug Something isn't working

Comments

@SuguruHarada64
Copy link
Collaborator

■ Corresponding version
v.1.0.0

■ API function affected by defect

  • pinMode()

    • pinMode() is a function that sets the specified pin to the input or output setting.
    • First argument is the pin, second argument is the pin setting.
  • digitalRead()

    • digitalRead() reads the input value of the specified pin.
    • First argument is the pin.

■ Contents and Occurrence conditions
The published SCL pin number is 49 and the SDA pin number is 50, but the pin numbers are reversed.
As a result, pinMode() and digitalRead() cannot control the digital input.

■ Workaround
None

■ Permanent measures
Scheduled to be fixed in v.1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
applies-to-v1.0.0 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants