bgerd/rc-switch

Code review request

Opened this issue · 0 comments

Branch name: raspberry-quigg

Purpose of code changes on this branch:
- Send Commands to Quigg Devices
- A "little" code rearrangement
- Compile Option for RaspberryPi (use -DRASPBERRY)

When reviewing my code changes, please focus on:
- is everything working?
  - Commands to all other devices
  - Does it still work on Arduino et al?
  - Do the receiver methods still work? (Couldn't test this at all)

- Are these changes fully backward compatible?

Not for RPi reviewers:
Minimum example for an executable:
#include "RCSwitch.h"
int main(int argc, char*argv[])
{
  if(wiringPiSetup() == -1)
    return 1;
  piHiPri(20);
  RCSwitch mySwitch;
  mySwitch.enableTransmit(0); // PIN 0;
  mySwitch.toggleTypeD("111100001111", 3, 1); // Quigg's system code is 12-bit, unit code can be 0 (=all) or 1-4.
  return 0;
}

After the review, I'll merge this branch into:
/trunk

Malte

Original issue reported on code.google.com by mdi...@gmail.com on 17 Feb 2014 at 9:39