Adafruit_Learning_System_Guides icon indicating copy to clipboard operation
Adafruit_Learning_System_Guides copied to clipboard

IR learning guides have ones and zeros swapped

Open bradanlane opened this issue 3 months ago • 0 comments

There are several CircuitPython learning guides related to IR. When tested them, they produced "2's compliment" results. I discovered the transmit examples had reversed the values for a "0" vs a "1".

To verify, my observation, I reviewed the sample code from the irremote CircuitPython library. The library code has the correct values for "0" and "1".

This pull request makes that corrections for the learning guides.

The learning guide changes were run on a Raspberry Pi PICO with the Adafuit IR Emitter module and the IR Receiver module

bradanlane avatar May 20 '24 09:05 bradanlane