You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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")
The text was updated successfully, but these errors were encountered:
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)
andboard.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")
The text was updated successfully, but these errors were encountered: