Counter A is used to send Sony TV remote codes to an IR led (Parallax #350-00017). The test program uses a Panasonic IR Receiver (Parallax #350-00014) to receive and decode the signals. Thanks to the power of multiple cogs in the Propeller the receive object runs in its own cog waiting for a code to be received. When a code is received it is written into the IRcode variable and processed by the main program. The code is read by the receive object in a cog as it is transmitted by another cog.