Hi,
as the Holy Manual states ...
min PAUSEUS @ 4 Mhz is ... 19µs ...
soooo .... toobad !
Now, for this " universal IR Tx " ...the use of a Xtal looks compulsory !
Alain
PS: an assembler stubb would be useful here ...
Code:
;-------------------------------------------------------------
; Code generated by PDEL ver 1.0 on 23/04/2010 at 09:01:45
; Description: Waits 13 cycles
;-------------------------------------------------------------
PDelay movlw .2 ; 1 set number of repetitions
movwf PDel0 ; 1 |
PLoop0 clrwdt ; 1 clear watchdog
decfsz PDel0, 1 ; 1 + (1) is the time over?
goto PLoop0 ; 2 no, loop
return ; 2+2 Done
;-------------------------------------------------------------
Code requirements
-----------------
- Declaration of PDel0 (register)
- 1 stack level
Example of use
--------------
call PDelay ; Delay 13 cycles (including call+return)
Last edited by Acetronics2; - 23rd April 2010 at 08:02.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks