-
Notifications
You must be signed in to change notification settings - Fork 5
Example Control Code Protocol
Tom edited this page Mar 15, 2017
·
3 revisions
The control code protocol used by the SmartRC platform is an 8 bit code, with each bit representing a specific component state change.
As shown below in the following table:
Here are some examples of control codes and the states they cause the platform to enter:
The control codes, once recieved, are loaded into an array and the bits are evaluated using a switch statement.
The functions shown above are only examples and the action each bit represents can be altered in the switch statement which evaluates them, which is at the bottom of the arduino sketch.
SmartRC - Developed by RDP-1

