![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Example for the RCSwitch Library. In receive mode, this will receive messages from the remote and decide which protocol has been used for transmission. In transmit mode, this will cycle through different formats for sending codewords.
Revision 1:9a4f690820b0, committed 2014-10-12
- Comitter:
- TheChrisyd
- Date:
- Sun Oct 12 10:05:01 2014 +0000
- Parent:
- 0:4d96e547dc15
- Commit message:
- reverted transmit code back to arduino example CodeWords
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Oct 12 10:01:46 2014 +0000 +++ b/main.cpp Sun Oct 12 10:05:01 2014 +0000 @@ -35,9 +35,9 @@ wait(1); // Same switch as above, but using decimal code - mySwitch.send(83029, 24);//5393 + mySwitch.send(5393, 24); wait(1); - mySwitch.send(83028, 24);//5396 + mySwitch.send(5396, 24); wait(1); // Same switch as above, but using binary code