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

No support for arduino leonardo #4

Open
Sennevds opened this issue Aug 25, 2014 · 2 comments
Open

No support for arduino leonardo #4

Sennevds opened this issue Aug 25, 2014 · 2 comments

Comments

@Sennevds
Copy link

Because you can't set which serial it has to use (Leonardo uses Serial1 instead of Serial) you can't use this library with the arduino leonardo

@thiseldo
Copy link

thiseldo commented Sep 9, 2014

This requires a new Init function that will allow the Serial or Serial1 object reference to be passed in, this would then use a local instance of the HardwareSerial object based on what was passed in the init function. If the default init is called then the default Serial should be used.
I have used this in my own version of the library successfully with the Freetronics LeoStick which is based on the Leonardo. I've also used it with a Atmega1284P board that has multiple serial ports.

I'm looking to create a fork of the library with this and a number of other changes that I use myself.

thanks

Andrew

@Cisecodev
Copy link
Member

We look forward to receiving your pull requests. :-)

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

3 participants