I have a CC1101 and another RF module. To activate my lights, I send a specific 20 bit code for on/off.
bit state 1 on cc1101 looks like this:
digitalWrite(rc_pin, HIGH);
delayMicroseconds(666);
digitalWrite(rc_pin, LOW);
delayMicroseconds(1333);
however on the other rf module it does not work and I have to change it to:
digitalWrite(rc_pin, LOW);
delayMicroseconds(666);
digitalWrite(rc_pin, HIGH);
delayMicroseconds(1333);
Why is there a difference?