Skip to content

Error in IR example for CPX #2801

Open
Open
@bradanlane

Description

@bradanlane

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions