In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bobn9lvu wrote: [quote="Bean (Hitt Consulting)"]Okay after connecting everything, I have only 3 I/O pins left. Does anyone know of a slick way to read an atari joystick (5 switches connected to a common) with only 3 I/O pins ? Of course Up&Down cannot be closed at the same time (same with Left&Right). Without any extra parts if possible (okay a resistor of two would probably fit, but NO ICs). Bean.[/quote] Read the switches with decimal to binary chip, with 3 io lines you could read up to 7 switches..... Or using the same 1wire circuit for a wind vane you could do a [b]LOT[/b] more than just the 5 switches...:smilewinkgrin: Bob :scool: ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143285 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)