-
Notifications
You must be signed in to change notification settings - Fork 151
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
Trouble with INPUT pin mode #9
Comments
Hi Lucas,
|
|
Hi,
Before explaining the issue I have with your project, let me express how great I find it ! It is doing exactly what I need, thank you !
However I had some troubles when using a pin mode as "INPUT". For instance when running the following simple example :
everything runs fine. However, if I run this same code a second time I get the following output :
But then it works again if I disconnect and reconnect the Arduino. Such an issue is not happening if I replace "INPUT" by "OUTPUT". The versions of Python and python-serial are respectively 2.6.5 and 2.7.
The issue I have is then not a major obstacle since I can just reconnect the Arduino board. But I was thinking that you may want to give this a look.
Lucas
UPDATE :
This issue is not happening when running with Python 2.7 !
The text was updated successfully, but these errors were encountered: