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

Use of Native USB Port on Arduino Due #608

Open
W4li8 opened this issue Jan 13, 2023 · 0 comments
Open

Use of Native USB Port on Arduino Due #608

W4li8 opened this issue Jan 13, 2023 · 0 comments

Comments

@W4li8
Copy link

W4li8 commented Jan 13, 2023

By default, and when using this popular hack the Arduino Due still only works with the programming port, assuming baud rates are properly matched between devices (the default is 57600 and it works up to 250000).

When a connection is lost, and re-established through the programming port, the Arduino Due resets - which presents an undesirable behavior that would not occur using the native port.

In the roslib ArduinoHardware.h change definitions to match the following:
#define SERIAL_CLASS Serial_ and iostream = &SerialUSB (maybe enable delay(3000) as a fail-safe to upload a new sketch)

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

1 participant