please dont rip this site

PIC Microcontoller Delay Method

Delay X cycles (11-256) exclusive

From Regulus Berdin

;**********************************************************************
; Adjustable delay from 11-256 cycles (for 14 bit core)
; W = count, cycle count excludes loading of W
; by Regulus Berdin
delay:
        addlw -(.10+1)  ;2+1 remove 1 count more for carry correction
        addlw -4        ; 1
        skpnc           ; 1/2
         goto $-2       ; 2
        sublw 0xFF      ; 1
        addwf PCL,f     ; 2
delay7  nop             ; delay adjuster
delay6  nop             ;
delay5  nop             ;
delay4  return          ;2

Questions:

Comments:


file: /Techref/microchip/delay/8b1cr15m-rb.htm, 1KB, , updated: 2013/3/4 14:59, local time: 2024/11/30 17:41,
TOP NEW HELP FIND: 
3.141.198.13:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/TECHREF/microchip/delay/8b1cr15m-rb.htm"> PIC Microcontoller Delay Method - Delay X cycles (11-256) exclusive</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .