Skip to content

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

@Timfa2112

Description

@Timfa2112

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions