Help
Advanced Member level 2

Programming....
Hai....
How to write the program...
i using 16f84, i need to write a simple Two-Input-AND Gate program in C. One of the input is the input from A0 and another is the Clock-Pulse (program - clock-pulse). How to write a program while Clock-Pulse is H then at the same time the input is H then output become H. If Clock-Pulse is L & input is H then output become L.
Anyone can help me.. please............
Thank You.
Hai....
How to write the program...
i using 16f84, i need to write a simple Two-Input-AND Gate program in C. One of the input is the input from A0 and another is the Clock-Pulse (program - clock-pulse). How to write a program while Clock-Pulse is H then at the same time the input is H then output become H. If Clock-Pulse is L & input is H then output become L.
Anyone can help me.. please............
Thank You.