The PIC does not start its program.


Closed Thread
Results 1 to 37 of 37

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    So, you're switching on 5 LED's then switching them off again. That routine will run only once, and in fairness, there is in theory only half a second between the ON and OFF sequence. Do you have 5V on the MCLR pin?

  2. #2
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    There is a 22kOhms resistor from +5V to RA5 and from RA5 to Mass is a push-button. So without pressing the button it is +5V. But that shouldn't be important because of "@ DEVICE MCLR_OFF".

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


    Did you find this post helpful? Yes | No

    Default

    You might try using upper case letters in those DEVICE STATEMENTS and DEFINE. http://www.picbasic.co.uk/forum/showthread.php?t=558
    Last edited by Archangel; - 26th July 2008 at 23:44.
    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.

  4. #4
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    I did. This did not change anything.

    I used this code before and it worked with exactly this chip.

    I replaced the pic and it still did not work.

    Do you know a better way of measuring the pic's quarz using a multimeter? I presume that having a 20Mhz Quarz is way out of this device's possibilities.
    Last edited by Ted's; - 27th July 2008 at 00:18.

  5. #5
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    *deleted****
    Last edited by Ted's; - 27th July 2008 at 00:19.

Similar Threads

  1. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 08:57
  2. Replies: 14
    Last Post: - 26th September 2007, 06:41
  3. Pic16f84 and RC5 kode
    By terminator in forum Bluetooth
    Replies: 5
    Last Post: - 18th June 2007, 22:40
  4. Pic Start Plus Help
    By shawn in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th March 2007, 04:47
  5. Output PIC module
    By freelancebee in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th September 2005, 21:10

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