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

Blocks on setting output (or doing anything but Arduino.new()) #11

Open
Timfa2112 opened this issue Mar 9, 2017 · 0 comments
Open

Blocks on setting output (or doing anything but Arduino.new()) #11

Timfa2112 opened this issue Mar 9, 2017 · 0 comments

Comments

@Timfa2112
Copy link

Windows 10 x64 (x32 ruby)
Arduino Uno

When loading the example script, the program blocks when trying to execute board.output(13)
(Because I'm on Windows, I had to change the connecting to board = Arduino.new("COM1"))

Also when just trying to read pins (not output to them) board.getState(12) and board.analogRead(12) seem to block as well.
Tried to discover the cause, but I hadn't a clue what was going on (relatively new to Ruby myself)

Code used is purely the example code provided on the github page. (save for editing the port to "COM1")

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

1 participant