PIC16F628A Will not run at all....


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: PIC16F628A Will not run at all....

    Quote Originally Posted by aratti View Post
    I don't see the oscillator register settings. You have to turn off comparators (if any). Did you pulled up the MCLR pin?

    Cheers

    Al.
    Yes MCLR is 5V+

    Isn't that what _INTRC_OSC_NOCLKOUT is for?

    Is there a way to set the config bits using binary in pbp3? I have been searching for hours and its extremely frustrating to have so many different ways to do it apearantly, and none of them seem to work right. And the one I KNOW will work right, I can't find a damn syntax for....

    My pic has a 14 bit config and I want 10000111111000 but I cannot figure out the command to enter it....

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: PIC16F628A Will not run at all....

    You could use assembler directives (if PBP allows them)

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


    Did you find this post helpful? Yes | No

    Default Re: PIC16F628A Will not run at all....

    Quote Originally Posted by thasatelliteguy View Post
    Yes MCLR is 5V+

    Isn't that what _INTRC_OSC_NOCLKOUT is for?
    The config tells the PIC you want it to use the internal OSC, DEFINE OSC 4 tells PBP you are using 4 mhz so it knows how to adjust it's timing to agree with your intentions. I believe 4mhz is PBP default, but would not depend on defaults, period. Always define in your code what you expect, and the surprises (like not working) disappear.
    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.

Similar Threads

  1. RTC run too fast
    By pedja089 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th December 2012, 19:17
  2. Run-Time Config
    By Darrel Taylor in forum PBP Extensions
    Replies: 1
    Last Post: - 1st February 2012, 16:26
  3. 16F628 does not run. I can't believe this
    By Ioannis in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 3rd October 2009, 15:41
  4. Intermittent code cannot run
    By Pic2008 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th November 2008, 02:45
  5. How to run program in parallel?
    By vanxn in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th July 2006, 21:59

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