PDA

View Full Version : PIC16F628A internal oscillator



azra01
- 6th May 2010, 21:31
Hello!

I have one question for you: How to define internal oscillator for PIC16F628A in the MicroCode Studio.

I tried @ DEVICE INTRC_OSC_NOCLKOUT, but I got error: "undefined symbol intrc_osc_noclkout"

Help!

mackrackit
- 7th May 2010, 01:35
Try
_INTOSC_OSC_NOCLKOUT

Archangel
- 7th May 2010, 02:26
Look at this thread, pay attention to punctuation, and syntax, er ah just copy paste what Melanie did BUT read for understanding this entire thread, It is probably the most important thread here. It is what All the books forget to tell you.

mackrackit
- 7th May 2010, 03:43
Look at this thread, pay attention to punctuation, and syntax, er ah just copy paste what Melanie did BUT read for understanding this entire thread, It is probably the most important thread here. It is what All the books forget to tell you.
http://www.picbasic.co.uk/forum/showthread.php?t=543

Archangel
- 7th May 2010, 06:05
http://www.picbasic.co.uk/forum/showthread.php?t=543
Doh, the hurried-er I go the behind-er I get ! Got interrupted by a Drive By shooting here in the hood. That's my story and I am sticking to it ! Thanks Dave ! That is the one :D

Darrel Taylor
- 7th May 2010, 07:53
... I tried @ DEVICE INTRC_OSC_NOCLKOUT, but I got error: "undefined symbol intrc_osc_noclkout"

Although this was posted in the PIC BASIC forum, you are probably using PicBasic Pro.
If using PBC that line would have given an Invalid Symbol error. PBC doesn't allow the @ symbol.

I would guess that you have the wrong chip selected in the Device drop-down in MicroCode Studio.

If you don't see a Device drop-down in the toolbar, go to View > Toolbars and make sure Compile and Program is checked.

hth,