Hello Unregistered ,
Originally Posted by dbachman Right.... while pin 2 is at a high state shouldn't the program stay in the while/wend loop until it goes low and then jump out and turn on the LED? Yes Try if not already: Read a PortB pin in place of portA to avoid config errors. Initialize Low portB.6 Is the read pin an input? Norm
Forum Rules
Bookmarks