]> vault307.fbx.one Git - micorpython_ir.git/commit
Update IR_TX Samsung32 Address Format
authorCyril Christin <55538276+cyrilchristin@users.noreply.github.com>
Wed, 28 Sep 2022 08:30:56 +0000 (10:30 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Sep 2022 08:30:56 +0000 (10:30 +0200)
commitd7ff5be7654ececde87be89f32a08986b5c3b5c7
treef8ce2182a7987036e6f0530059e7d2944bce2c5e
parentcfb4d7a37f2dbe06dd118dffb943308bed3c6e09
Update IR_TX Samsung32 Address Format

Builds different [addr] formats for the NEC or Samsung32 protocol.
- NEC: 8 address bits + 8 inverted address bits
- Samsung32: 8 address bits + 8 address bits

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
ir_tx/nec.py