//-->
Google
 

Microcontrollers & Embedded System Designs

Forum

=> Not registered yet?

You can enter queries here.

Forum - Problems in using Timers & Interrupts of PIC18F452

You are here:
Forum => FBUS Tutorial => Problems in using Timers & Interrupts of PIC18F452

<-Back

 1 

Continue->


bobx
(1 post so far)Yahoo Messenger
AIM
04/23/2011 7:21pm (UTC)[quote]
Hello.I want to write a program using PIC18F452&XTAL=20MHZ in C or mikroC to do the followings;

1.Simultaneously turn a timer on[timer0 or...] to count for 1 sec. and
also count the number of High[transition from H to L] state of the
input signal.

2.Turn a timer on[timer0 or...] for 1 sec. and as soon as a input signal injected or entered to a PIC pin the timer[timer0 or...]immediately turned off and calculate the time of passed by that timer.

Would you please help and give me some example codes to write those programs?

Thanks,:



Total topics: 14
Total posts: 87
Total users: 181
Online now (registered users): Nobody crying smiley
There have been 145783 visitors (554562 hits) on this page!
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free