Skip to content

Executing analogReference() sets a specific port to analog settings. #1

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 Nov 28, 2023 · 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
analogReference()
The analogReference function is a function that sets the reference voltage used for analog input.

■ Contents and Occurrence conditions
There was an issue where using the analogReference function would set certain ports to analog. Therefore, if you set a particular port to be a digital port and then run the analogReference function, the port will not behave properly as a digital port.

The specific ports are as follows.
P05(A0 pin)

■ Workaround
Execute the analogReference() function at the beginning of the setup function.

■ Permanent measures
Scheduled to be fixed in next version.

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