peterhinch / micropython_ir

Nonblocking device drivers to receive from IR remotes and for IR "blaster" apps.
MIT License
240 stars 51 forks source link

Update IR_TX Samsung32 Address Format #20

Closed cyrilchristin closed 1 year ago

cyrilchristin commented 1 year ago

Builds different [addr] formats for the NEC or Samsung32 protocol.

This is based on the logic found in the FlipperZero IR Samsung Encoder: https://github.com/flipperdevices/flipperzero-firmware/blob/052237f8c9bb34bc244abcbf108cdf1ec6ec58ec/lib/infrared/encoder_decoder/samsung/infrared_encoder_samsung.c#L27-L31

peterhinch commented 1 year ago

I've re-tested my remote and it uses address 0x707 so the "add complement" code never ran. I'll accept the links you provided as definitive.

Thank you for this.