PDA

View Full Version : Set configuration bits



Petenausen
- 26th May 2013, 17:23
Hi,
how can I set this things with microcode studio on PIC16f819?
@ DEVICE INTRC_OSC
@ DEVICE WDT_OFF
@ DEVICE PWRT_OFF
@ DEVICE MCLR_OFF
@ DEVICE BOD_OFF
@ DEVICE LVP_OFF
@ DEVICE CPD_OFF
@ DEVICE CCPMX_ON
I can't find the section for configuration bits on the program

Demon
- 26th May 2013, 18:27
Have you looked at the FAQ forum?

http://www.picbasic.co.uk/forum/showthread.php?t=543


Or used the search feature?


And there's also several similar threads listed at the bottom.

Robert

Petenausen
- 27th May 2013, 15:20
Yes, of course and in the previous post you can look at my needed configuration.
Unfortunately the microcode studio sais that it is incorrect

Petenausen
- 27th May 2013, 15:24
6992
As you can see there

prstein
- 27th May 2013, 16:43
What version of PBP are you using? And, which assembler is MCS using?

In PBP3, the config settings would be something like:



#CONFIG
__config _INTRC_IO & _WDT_OFF & _PWRTE_OFF & _MCLR_OFF & _BODEN_OFF & _LVP_OFF & _CPD_OFF & _CCP1_RB3
#ENDCONFIG


Best Regards,
Paul

Demon
- 27th May 2013, 17:04
Removed wrong answer.