arduino icon indicating copy to clipboard operation
arduino copied to clipboard

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

Open Timfa2112 opened this issue 7 years ago • 0 comments

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")

Timfa2112 avatar Mar 09 '17 13:03 Timfa2112