Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpfcso!hpfcbig!diamant From: diamant@hpfcbig.SDE.HP.COM (John Diamant) Newsgroups: comp.sys.handhelds Subject: Re: Re: IR-remote control for the 28s? How about the 48SX? Message-ID: <1010014@hpfcbig.SDE.HP.COM> Date: 19 Apr 91 00:03:16 GMT References: <1991Apr6.232739.18511@spool.cs.wisc.edu> Organization: HP SESD, Fort Collins, CO Lines: 35 James H. Cloos (cloos@acsu.buffalo.edu) writes: > I've wanted this, too, for a long while. The assembly src as found in the > i/r remote article (as archived) should assemble w/o problems in star. All > that is needed is the address of the hardware register to write to to > toggle the i/r led on and off. > It would, of course, take a bit more work to combine it with Jan's i/r > input reader, but at least we could get the ball rolling with that one > address..... (hint, hint, hint) Sorry for the long delay. I'm only relaying this information from someone more knowledgeable on 48 internals than I (who just sent me the info), but I did manage to get what you need: > You can turn on the LED by writing > a #8h to the control register at #11Ch. You turn it off > by writing #0h. > > WARNING the LED takes a lot of current. If you leave it on your > batteries will be dead in about 5 hours. I'd love to have a learning remote control for the 48, but I don't have the internals knowledge to write it myself. The warning above suggests that the code manipulating the LED should be wrapped in an IFERR or equivalent which makes sure the LED is turned off before the program exits. John Diamant Software Engineering Systems Division Hewlett Packard Co. ARPA Internet: diamant@hpfclp.sde.hp.com Fort Collins, CO UUCP: {hpfcla,hplabs}!hpfclp!diamant This response does not represent the official position of, or statement by, the Hewlett-Packard Company. The above data is provided for informational purposes only. It is supplied without warranty of any kind.