Article 127 of comp.sources.amiga: Path: fishpond!mcdphx!asuvax!ukma!rex!wuarchive!usc!elroy.jpl.nasa.gov!news.larc.nasa.gov!amiga-request From: amiga-request@ab20.larc.nasa.gov (Amiga Sources/Binaries Moderator) Newsgroups: comp.sources.amiga Subject: v91i069: IRC 1.0 - IR remote reader, Part01/05 Message-ID: Date: 22 Mar 91 15:16:06 GMT Reply-To: ron@vicorp.uucp (Ron Peterson) Lines: 1642 Approved: tadguy@uunet.UU.NET (Tad Guy) X-Mail-Submissions-To: amiga@uunet.uu.net X-Post-Discussions-To: comp.sys.amiga.misc Submitted-by: ron@vicorp.uucp (Ron Peterson) Posting-number: Volume 91, Issue 069 Archive-name: devices/irc-1.0/part01 [ includes uuencoded iff file. the file IRMasterImage.h was split to allow posting; combine all IRMI.h.?? files to IRMasterImage.h ...tad ] This code is an uncompleted version of an IR remote controlled AREXX utility. It is uncompleted because no one wants to pay me to finish it (great sadness...) I have placed it in the public domain as an example of how to read an IR remote control signal using the parallel port. The code runs as it is on an Amiga 1000 with 1.5M of RAM (I suspect it will run in 512K also) when compiled using Lattice's V5.04 C compiler and asm assembler. I've only run it under V1.2 of the operating system so I don't know how it will work under V1.3 and higher. I've pulled out all the AREXX specific code so that you don't have to have AREXX to compile or run it. The file Schematic.ilbm contains a simple electronics schematic for hooking a Radio Shack IR receiver to the parallel port on an A1000. NOTE that if you have an Amiga other than an A1000 you must change the +5Vdc and gnd connections and use a male connector instead of a female. I think the connections for other machines is pin 14 = +5Vdc and pin 25 = gnd but don't trust my memory---verify it! ron@vicorp.com or uunet!vicorp!ron