Searching \ for ' 500 Us delay on 12c508' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: piclist.com/techref/timers.htm?key=delay
Search entire site for: '500 Us delay on 12c508'.

No exact or substring matches. trying for part
PICList Thread
'[PICLIST] 500 Us delay on 12c508'
2000\08\11@191922 by Greg Wood

picon face
I am wondering if anyone out there would be good enough to send me some code
to create a 500 micro-second delay on the 12c508.  I don't know any
assembler, otherwise I'd do it myself.  Please tell me just how to put it
in.  I.E. do any variables need to be declared at the top of the program.

I am trying to modify a program that I did not write.

Thanks in advance
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2000\08\11@202710 by acampbell

flavicon
face
Ok.  but no peeking, and no learning anything, OK?

you will need 1 variable, t
1.
call this subroutine like:

call    abit
;-----------------------
abit:                   ;500 us delay loop for 4 MHz crystal
       movlw   .124
       movwf   t1
       clrwdt
       DECFSZ  t1,f
       GOTO    $-2
       return
;--------------------------

alice
{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...