Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Serial Addressing #14

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Serial Addressing #14

wants to merge 8 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 29, 2017

This PR adds Serial as the default stream for the library, allowing users of the original library to leave their old firmware alone, while allowing them to use the hardware serial ports on the AtMega32u4, or alternative hardware serial ports on the AtMega2560.

Also added is addressing in the form of setAddress() and addCommandWithAddr() these functions allow developers to have multiple devices on a single serial bus at a time with similar command sets. The example code has been updated to show how one would use these.

hicat-tech and others added 8 commits December 4, 2016 12:06
These changes allow the developer to easily add an address to the
commands that are added with the addCommand() function. This is
particularly useful in systems using RS-485 serial with multiple
devices.
Added demonstration of setAddress() and addCommandWithAddr()
Updated keywords to include addCommandWithAddr
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants