Overview
- Object ID : 2260 (2013-04-10)
- Author : Thomas Doyle | added by Archiver
- Content : Code
- Microcontroller : Propeller 1
- Language : SPIN
- Categories : Fun, Protocol, Sensor
- Licence : Other
Content
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.