Skip to content

Arduino Due experimenting #2

@teachop

Description

@teachop

It works on Arduino Due with only slight adjustments. Nice.

Not much on the .rb side was needed at all. On the host side it experienced a few communication synchronization / timing issues. What made it robust was adding a common read routine with retry after a usleep timeout mechanism. Also O_NONBLOCK is set for the serial port open. Perhaps USB serial port timing is a bit different on the Due.

I think your gem is a great idea, very helpful. Good work!

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