about 13 hours ago
IRrecvclass performs the decoding, and is initialized with
decode()method is called to see if a code has been received; if so, it returns a nonzero value and puts the results into the
decode_resultsstructure. (For details of this structure, see the
examples/IRrecvDumpsketch.) Once a code has been decoded, the
resume()method must be called to resume receiving codes. Note that
decode()does not block; the sketch can perform other operations while waiting for a code because the codes are received by an interrupt routine.
The Linux Infrared Remote Control project (LIRC), however, has an open format for describing codes for many remotes. Note that even if you can't find codes for your exact device model, a particular manufacturer will usually use the same codes for multiple products.