Have spent ages on T1 problem. typical problem is frequency of oscillator is too high. This time its settling around 25khz In LP mode Im using TMR1 val of 65160+23 'allow for ISR delay. This equates to 20 cycles per second. Its running much slower than second eg each minute is about 1.5 minutes.
I am wondering if there is problems with GCBasic in its implimentation of counter??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having similar problem measuring a low frequency pulse (< 50 hz, too slow to count with any resolution, so I am using timer 1 to measure length of pule).
I'm thinking there may be a conflict with the "wait" command code. Does "wait" use timer1 to implement fast delays?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have spent ages on T1 problem. typical problem is frequency of oscillator is too high. This time its settling around 25khz In LP mode Im using TMR1 val of 65160+23 'allow for ISR delay. This equates to 20 cycles per second. Its running much slower than second eg each minute is about 1.5 minutes.
I am wondering if there is problems with GCBasic in its implimentation of counter??
I'm having similar problem measuring a low frequency pulse (< 50 hz, too slow to count with any resolution, so I am using timer 1 to measure length of pule).
I'm thinking there may be a conflict with the "wait" command code. Does "wait" use timer1 to implement fast delays?