micro timer help plz ASAP :( im having it after 2 few days :(

Status
Not open for further replies.
you still did not post any schematics
did you try to check the program you posted
looks really weird at some places
 
and i thought of a simple idea today ..
feel that this would be easier than using interrupts
configure timer as counter for measuring external pulses
and uses a simple delay loop to provide a known delay - say 100 milliseconds
the number of pulses is inverse of frequency .. but u dont need to convert either
you can simply take action depending on this count
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…