PDA

View Full Version : Your OTP advice?



truvahorse
- 28th June 2008, 12:30
Hi,
I wrote a program using picbasicpro and works fine on PIC16F84.
Config. starts like this..
---------------------------------------------------------
@ device pic16f84, xt_osc, wdt_off, pwrt_on, protect_off
ON INTERRUPT GoTo KESME
INTCON=%10010000
option_reg.6=1
DEFINE NO_CLRWDT 1
define OSC 4
trisa=%00010000
trisb=%00001111
.......
.......
end
----------------------------------------------------------
Now i want to transfer my program to a suitable OTP pic.
What is your OTP pic advice and how can edit my config. lines according to your advice?

Best Regards

Acetronics2
- 28th June 2008, 16:37
Hi,

No device change Available ...

just turn :




@ device pic16f84, xt_osc, wdt_off, pwrt_on, protect_off



into




@ device pic16f84, xt_osc, wdt_off, pwrt_on, protect_on



All ( or most of ) the Pics are now FLASH devices ... ; may be µChip will build you 1 Million 16 CR 84 ... but not 10,000 !!!

Alain