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

Arduino Due experimenting #2

Open
teachop opened this issue Jun 30, 2013 · 2 comments
Open

Arduino Due experimenting #2

teachop opened this issue Jun 30, 2013 · 2 comments

Comments

@teachop
Copy link
Contributor

teachop commented Jun 30, 2013

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!

@kyab
Copy link
Owner

kyab commented Jun 30, 2013

@teachop Thanks again for your trying! Maybe I can merge if you pull-request your adjustment.

@teachop
Copy link
Contributor Author

teachop commented Jul 1, 2013

Yes I will clean the Arduino Due adjustment up for a pull-request.

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

2 participants