Skip to content

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

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
MikiyaKobayashi opened this issue Sep 30, 2024 · 0 comments
Closed
Labels
applies-to-v1.0.0 bug Something isn't working

Comments

@MikiyaKobayashi
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 21 and the SDA pin number is 22, 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

1 participant