Adafruit_Learning_System_Guides icon indicating copy to clipboard operation
Adafruit_Learning_System_Guides copied to clipboard

Error in IR example for CPX

Open bradanlane opened this issue 4 months ago • 2 comments

In the learning guide for the Circuit Playground Express, IR CPX to CPX example, the code has the following:

encoder = adafruit_irremote.GenericTransmit(header=[9500, 4500], one=[550, 550], zero=[550, 1700], trail=0)

However, the sample code from adafruilt_irremote.py has the following:

encoder = adafruit_irremote.GenericTransmit(header=[9000, 4500], one=[560, 1700], zero=[560, 560], trail=560)

The CPX example results in the receive data being the 1s compliment of the send data.

bradanlane avatar May 02 '24 22:05 bradanlane