PDA

View Full Version : 10f202



shahidali55
- 13th May 2007, 12:27
How do i load the OSCCAL value for this device ? ? ?

mister_e
- 13th May 2007, 16:59
seems PBP do it for you by default.

huge code

a Var Byte

.lst file.. a snip


01563 LIST
0000 01564 ORG 0 ; Start at 0
01565
0000 0025 01566 movwf OSCCAL ; Set oscillator calibration
0001 0A02 01567 goto INIT ; Finish initialization (must be in first page)

shahidali55
- 14th May 2007, 12:39
Thanks mister_e.
I didn't know that pbp does it automatically.

mister_e
- 14th May 2007, 12:51
i didn't as well, just discovered it. Never Used PBP for this one, just ASM at the moment.