Questions:
I'm using a 16F877A at 20 MHz for a project in which I have to count the number of doors that open and the sequence in which they open, or if they open simultaneously. There are three doors. Once all three doors have been opened, numerous outputs are generated to report the status. I know the output portion of the code is functional, but when I toggle the three inputs on RA1-3, the first input detected always works, whether 1,2, or 3, but the others are then unresponsive until the PIC is reset. I have to re-write the whole thing anyway because I selected the infamous "Yes to All" icon in windows. I thought I would ask for any ideas while rebuilding. Thanks.