Thanks Darell, it is very interesting how you can go around things in programming.
Is it possible you can provide PBP statements for the following lines of the code:
Also I wonder if similar way of using WDT can be adopted for 12c671/12F508/16F676 as I have few little projects pending involving these and all of them will have one thing common - A noisy RF receiver attached to one pinCode:1) TOaddr VAR WORD BANK0 SYSTEM 2) ASM movf TOaddr + 1, W ; Goto Timeout Address movwf PCLATH movf TOaddr, W movwf PCL ENDASM 3) ASM movlw LOW(_TimeOut1) ; Set the Timeout jump Address movwf TOaddr movlw HIGH(_TimeOut1) movwf TOaddr + 1 CLRWDT ; kick the DOG first ENDASM
Thanks
P.S - No problem if you have not tested the code. I will try to my best to do it first, just after I know the PBP equivalent of the above statements.




Bookmarks