Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20562

EASY TCP/IP : Timer 0 ,2 : REPLY

$
0
0
Hi Nico, Here's how I configure a Timer to do something like what you're doing. [code:1:d0d7172c1f] Config Timer2 = Timer , Prescale = 1024 , Clear Timer = 1 On Oc2a Timer2_isr 'point to interrupt routine 'load preset, enable, and start timer2 Ocr2a = &HC3 'configure preset of 125 Enable Oc2a 'enable interrupt Start Timer2 'and start timer [/code:1:d0d7172c1f] Hope this helps. Bob

Viewing all articles
Browse latest Browse all 20562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>