Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)
User avatar
By Jan Kratzer
#77632 Hey there,

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:

Code: Select all    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:

Code: Select all    digitalWrite(rc_pin, LOW);
    delayMicroseconds(666);
    digitalWrite(rc_pin, HIGH);
    delayMicroseconds(1333);



Why is there a difference?