SONY-IR.ICB: SONY-FORMAT INFRARED DECODING FOR THE HANDY BOARD Fred Martin (fredm@media.mit.edu) Brian Silverman (bss@media.mit.edu) Sat Jan 27 11:35:46 1996 INTRODUCTION The "sony-ir.icb" driver for Interactive C allows the Handy Board to interpret signals from a household Sony infrared remote (or any universal remote programmed to generate Sony codes). The driver is compatible with both the freeware and for-sale versions of Interactive C. INSTALLATION Place the file named "sony-ir.icb" into the Interactive C library directory. LOADING From the Interactive C prompt, type "load sony-ir.icb" to load the driver. USAGE Enable the driver by executing the function "sony_init(1);", either at the IC prompt or within a program. Send a signal from a Sony remote, or a universal remote programmed to generate Sony codes, to the Handy Board. The IR sensor is the dark green component in the board's lower right hand corner. Then, retrieve the received IR signal with the function "ir_data(0)" (the value of the argument given to ir_data does not matter, but an integer must be provided). Each time a value is retrieved using the ir_data() function, the driver resets to receive another signal from the IR remote. If no signal has been received since the last call to ir_data(), it returns zero. Disable the driver with "sony_init(0);". CREDITS The 6811 Sony format decoding was written by Brian Silverman and was ported to the Interactive C/Handy Board platform by Fred Martin.