Skip to content
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

"is_ready()" does not return "false" when D-OUT pin disconnected. #138

Open
HamidSaffari opened this issue Mar 29, 2019 · 3 comments
Open

Comments

@HamidSaffari
Copy link
Contributor

HamidSaffari commented Mar 29, 2019

Hi.
"is_ready()" does not return "false" when D-OUT pin disconnected.
the reason is noise caused by High-Impedance of input pin.
the solution is to configure internal pull-up resistor.
so in begin():
pinMode(DOUT, INPUT);
should change to:
pinMode(DOUT, INPUT_PULLUP);

@HamidSaffari HamidSaffari changed the title "is_ready()" do not return "false" when D-OUT pin disconnected. "is_ready()" does not return "false" when D-OUT pin disconnected. Apr 5, 2019
@Flying-Bolt
Copy link

You are right! THX

@bogde
Copy link
Owner

bogde commented Apr 18, 2019

@HamidSaffari thanks for your feedback. what hardware did you use?

@Flying-Bolt
Copy link

an atmega32u4 bettle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants