Menu

Does wait command use TMR0?

Help
2007-08-04
2013-05-30
  • Nobody/Anonymous

    Trying to run a light sequencer using WAIT for the main body timing, and an interrupt-driven service routine triggered from TMR0, at the same time.  I'm getting some bizarre effects like like lights out of sequence, and in general everything only works if I run it very slowly (the interrupt is called every 512 microsec).  I was wondering if the WAIT routine used TMR0 and the two processes were getting tangled up?

     
    • Hugh Considine

      Hugh Considine - 2007-08-04

      No.

      The Wait command just delays the program by wasting CPU cycles - no timers are used.

       

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.