Path: utzoo!attcan!uunet!mcvax!hafro!krafla!frisk From: frisk@rhi.hi.is (Fridrik Skulason) Newsgroups: comp.sys.ibm.pc Subject: Using the printer port for input Message-ID: <704@krafla.rhi.hi.is> Date: 10 Jan 89 16:22:52 GMT Reply-To: frisk@rhi.hi.is (Fridrik Skulason) Organization: University of Iceland (RHI) Lines: 13 I need to connect a set of eight switches to my PC. The most simple way to do it seems to be connecting them to the parallel port, and using it as input port instead of output. My question is: Does anyone have a code fragment (in C, assembler or whatever) for changing the port into an input port? Thanks.... -- Fridrik Skulason University of Iceland UUCP frisk@rhi.uucp BIX frisk This line intentionally left blank ...................