I'm wanting to better understand how the structure is built IR code for global cache. I check the GC-100 manual, but I'm still some doubts. Could anyone help me giving some example, more detailed? Here below the manual explanation:
An IR, or infrared, transmission is created by sending an IR timing pattern to the GC-100. This pattern is a collection of <on> and <off> states modulated with a carrier frequency ( ƒ ) which is present during the <on> state. A carrier frequency is typically between 35 to 45 KHz with some equipment manufacturers using 200 KHz and above. The length of time for an <on> or <off> state is calculated in units of the carrier frequency period. For example, an <on> value of 24 modulated with a 40 KHz carrier frequency produces an <on> state of 600μS, as calculated below.
600μS = <on> * P = 24 / ƒ = 24 / 40,000 where P = 1 / ƒ