Newbie need Help 16F627a


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by azmax100 View Post
    Joe S.
    After editing the INC file in PBP I got this message

    Error [113] c:\pbp\16f628.inc 22 : Symbol not defined (_HC_OSC)

    For your info I'm using 16F628 now cause i broke some of the 16F627a pin while
    remove it from my icsp.
    Theres already a 10k resistor and a diode in series on my icsp module.
    The LED blink when i touch the osc pin.
    Hi Azmax100,
    First off, Congratulations on your sucess, It is so irritating to pour your time and effort into a project and it does not work as expected.
    I have commented out the default config statements for the chips I use most often and always insert the config statement into my code.
    This gives me flexibility to quickly change things like OSC, WDT, MCLR, BOD, and I never have to go hunt for the config settings in another file.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    49


    Did you find this post helpful? Yes | No

    Default

    Bruce
    Thanks for the time explaining. I've spend three days just to make the LED to blink. I've experienced with Basic stamp 2. I know it's a little bit harder to play with PIC but I am willing to learn.
    I will start a robotic project shown by you in rentron.com. For sure the will be a lot of of (silly) question. he he
    Anyhow thanks to you and Joe s.

  3. #3
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    Do you have to change the configuration for the XS_osc and HS_osc in the .INC file or can i´t be done in the pbp program like this?

    Code:
    @ device  pic16F628, hs_osc

  4. #4
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    49


    Did you find this post helpful? Yes | No

    Default

    Fredrick
    I include this
    @ DEVICE pic16F628, HS_OSC in my program. Now it run smoothly.

  5. #5
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    49


    Did you find this post helpful? Yes | No

    Default

    Bruce

    (correction)

    You are wright. The problem I can't compile with MPASM because it is not in the same directory with PBP. I read it somewhere in this forum post by Melanie.(do I spell it correctly).It's a good guide. Thanks Mel.

    And regarding the book that you are written ( i read it in another thread) that's a good Idea. I am not going to be an ee engineer. I am learning this uC thing as a hobby. But might be someday my boy will be. It's good to share knowledge with other people and I consider what you have done and going to do will benefit others in future. After all we human being will leave all we have when the time come. So why not doing something good for others while we can.

    This is my 2cents.
    Last edited by azmax100; - 21st January 2009 at 07:49.

Similar Threads

  1. Newbie making an ignition timer
    By ChrisHelvey in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 5th August 2012, 17:45
  2. Newbie: Temperature measurements
    By Budda in forum General
    Replies: 10
    Last Post: - 30th March 2007, 09:56
  3. PIC Newbie
    By azmax100 in forum Schematics
    Replies: 7
    Last Post: - 23rd February 2007, 04:52
  4. request for a newbie forum
    By nimonia in forum Forum Requests
    Replies: 1
    Last Post: - 20th May 2006, 09:01
  5. 16F627A portA4 problem?
    By markedwards in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd October 2005, 19:54

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts