Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!oliveb!hplabs!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.micro.amiga Subject: switch state detection Message-ID: <3012@sdcrdcf.UUCP> Date: Wed, 17-Sep-86 19:44:49 EDT Article-I.D.: sdcrdcf.3012 Posted: Wed Sep 17 19:44:49 1986 Date-Received: Fri, 19-Sep-86 23:12:51 EDT Reply-To: lwall@sdcrdcf.UUCP (Larry Wall) Organization: System Development Corporation R&D, Santa Monica Lines: 12 For a quizzing application, I'd like to hook 8 switches up to the parallel interface and determine which switch closes first. Can this be done, and if so, what is the easiest way to go about it? It seems to me that if I strobe it right, I can just read the first character that shows up on the parallel interface and see which bit is set. I know just enough about electronics to suspect that if I short the 5v power to the data pins I might smoke something. Either direct advice or pointers to how-to-do-its would be welcome. I don't want to smoke my baby computer! Larry Wall {allegra,burdvax,cbosgd,hplabs,ihnp4,sdcsvax}!sdcrdcf!lwall