We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi is there anyway of knowing if the LPC is receiving pulses on its INT0 pin. I have it already set up like this: IT0 = 1; //Pulses are edge detected EX0 = 1; //interrupt enable bit EA =1; It works fine, but is there anyway to find out if the pulses have stopped coming into this pin? The time the pulses will be present at this pin is unknown. This message is also posted at http://www.8052.com/forum/post.phtml
The ISR needs to clear the overflow flag (TF0) so that the interrupt can re-occur no need, quoting "the bible" Cleared by hardware as the program vectors to the interrupt routine. Erik
Erik, TF0 could be cleared by software as well...But can any one try it on his simulator or emulator...please. Thank you