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 |
|
bobx (1 post so far) |
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: 188
Online now (registered users): Nobody