In SX Microcontrollers, SX/B Compiler and SX-Key Tool, infinkc wrote: Thanks for all the help so far! it turns out i only needed to input 3 signals and output one. my code so far [color=blue]LCD_Power PIN RB.1 'Led pin anode connection[/color] [color=blue]LEDon CON 1 'high state[/color] [color=#0000ff]--------------------[/color] [color=blue]IF RA.0 = LEDon THEN IF RA.1 = LEDon THEN IF RA.2 = LEDon THEN HIGH LCD_Power ELSE ENDIF ENDIF ENDIF[/color] If i set RA.0, RA.1, RA.2 LOW RB.1 still stays HIGH, how can i make it go LOW? i guess what i want is a logic state low, no connection, and high. Also im trying to have LCD_Power stay on for a second then turn off, i cannot for the life of me figure out how to do that. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=170961#m171307 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)