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

Change hard-coded hardware serial to ports defined dynamically #4

Open
awickert opened this issue Jun 26, 2014 · 1 comment
Open

Change hard-coded hardware serial to ports defined dynamically #4

awickert opened this issue Jun 26, 2014 · 1 comment

Comments

@awickert
Copy link
Member

Perhaps spin off into separate library for more code reusablity by others, and then instantiate class, e.g.,

HardSerial _Serial1(1);
HardSerial _Serial2(2);
HardSerial _Serial3(3);

and then use these later throughout the code while passing a HardSerial object to functions.

@awickert
Copy link
Member Author

This will be for a future version of the ALog -- the ATMega328 version (current one) has only one Serial input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant