PDA

View Full Version : Configuration bits



DJEE
- 13th June 2007, 17:28
I am new to PIC programming and PICBASIC PRO. I am trying set the configuration bits in my program so that they will not need to be set manually when I program the PIC. I have not found any information on how to do this in PICBASIC PRO. I tried to do it with a line of assembly code using the @ __config function but the PICBASIC PRO compiler would give me an error saying it "opcode expected instead of ' __config'. Can anyone help me with this?

malc-c
- 13th June 2007, 17:59
Try using the search function of this forum and enter "configuration bits" as the search string.... then browse the posts it trows up ;)

skimask
- 13th June 2007, 17:59
I am new to PIC programming and PICBASIC PRO. I am trying set the configuration bits in my program so that they will not need to be set manually when I program the PIC. I have not found any information on how to do this in PICBASIC PRO. I tried to do it with a line of assembly code using the @ __config function but the PICBASIC PRO compiler would give me an error saying it "opcode expected instead of ' __config'. Can anyone help me with this?

http://www.picbasic.co.uk/forum/showthread.php?t=543
Amazing what a search brings out...ain't it?

malc-c
- 14th June 2007, 19:20
http://www.picbasic.co.uk/forum/showthread.php?t=543
Amazing what a search brings out...ain't it?

:) :) - LOL

I couldn't be arsed to paste the link !