-
Notifications
You must be signed in to change notification settings - Fork 16
Library Structure
Curtis Malainey edited this page Oct 9, 2017
·
3 revisions
Ant-arduino follows the command pattern.
This allows implementations to be easily swapped without adjusting the messages too much. By keeping a uniform interface across multiple hardware interfaces, the library increases portability of user code. This also allows other libraries to be built on top with little worry about the underlying hardware. For example, my next library is built entirely upon ant-arduino, therefore the underlying implementation does not matter.