Menu

Timer1 miles out of spec

Help
2009-12-01
2013-05-30
  • Alistair George

    Alistair George - 2009-12-01

    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??

     
  • Nobody/Anonymous

    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?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.