Overview
- Object ID : 2426 (2013-04-10)
- Author : Thomas Doyle | added by Archiver
- Content : Code
- Microcontroller : Propeller 1
- Language : SPIN
- Categories : Human Input, Protocol, Sensor
- Licence : Other
Content
The IR_Remote.spin object receives and decodes keycodes from a TV remote control. The procedure to read and decode is run in a separate cog. This eliminates the big problem of the mainline program hanging while waiting for a key to be pressed. When a keycode is received it is written into a variable in the address space of the calling cog.