In SX Microcontrollers, SX/B Compiler and SX-Key Tool, transmon wrote: This is What I think it should look like , is it ok to have all them on the RB I/O pins all of the demo's show them on the RC I/O pins I dont use the RC4 pin but I do need it for an output , how do I make it avalible , it is being used buy the SX28just like in the demo. I dont have enough I/O pins, have thought about using a philips LPC2103 that uses Ic2 which uses 2 pins insted of three like the ds1302 and it does the days of the year julin within the chip. How hard is it to talk to these devices over the Ic2 bus? do you know of any examples? Thanks David Keys VAR RB ' keyboard scan port TRIS_Keys VAR TRIS_B PLP_Keys VAR PLP_B Col1 VAR Keys.7 ' column inputs Col2 VAR Keys.6 Col3 VAR Keys.5 Col4 VAR Keys.4 tmpB1 = 0 ' reset keyboard value Keys = %0000_0111 ' activate first row TRIS_Keys = %1111_0000 ' refresh IO state PLP_Keys = %0000_1111 ' pull-up input pins ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=160035#m160097 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)