Flipper Zero SimulatorDismantle, inspect and operate the device.
Interactive lab
Loading the Blender model…
0/50
Encode and decode the most common IR remote protocol.
Module: iButton, IR and USB
NEC: 9 ms burst + 4.5 ms space, then 32 bits (address, ~address, command, ~command) LSB first; "1" = 560 µs mark + 1690 µs space.
InfraredMessage m = {.protocol = InfraredProtocolNEC, .address = 0x04, .command = 0x08};
infrared_send(&m, 1);
Why is the command repeated inverted?
← 38. Infrared basics · All lessons · 40. Universal remote database →
Try it yourself
l39_nec_protocol.c
InfraredMessage m = {.protocol = InfraredProtocolNEC, .address = 0x04, .command = 0x08};
infrared_send(&m, 1);