PIC16F819 LED not blinking


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default check your code :-)

    Hi Ron

    I noticed your LOOP code seems to have a problem at the end ....
    The GOTO LOOP has a comment in the beginning , at first it looked like a spec of dust ;-)
    Look carefully at the beginning of the GOTO line :-)
    your code...
    Code:
    LOOP:
    
    PULSOUT PORTB.4,20
    PAUSE 20
    PULSOUT PORTA.0,20
    PAUSE 20
    
    'Goto LOOP
    Corrected code
    Code:
    LOOP:
    
    PULSOUT PORTB.4,20
    PAUSE 20
    PULSOUT PORTA.0,20
    PAUSE 20
    
    Goto LOOP
    Did you try Melanie's code in place of yours ?

    Hope that works ...
    Dennis
    Last edited by Dennis; - 30th November 2009 at 22:19.

  2. #2
    Join Date
    Oct 2009
    Location
    Austin, Texas
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    [QUOTE=Dennis;81575]Hi Ron

    I noticed your LOOP code seems to have a problem at the end ....
    The GOTO LOOP has a comment in the beginning , at first it looked like a spec of dust ;-)
    Look carefully at the beginning of the GOTO line :-)
    your code...

    Good eyes Dennis, but this is only on the forum post....I already corrected that on the program! Thanks for the help in any case. I am still trying to get this thing running, so any addidtional help is appreciated.

    No luck with Melanies info changes.....Datasheet 35-37 are on the INTRC and INTOSC settings. What do we do when going to higher OSC frequency in this area?
    Last edited by ronbowalker; - 30th November 2009 at 22:28. Reason: Info Update

Similar Threads

  1. Simple Blinking LED - WTF!!
    By johnnylynx in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st February 2010, 07:19
  2. Blinking an led problem on P16F84
    By aimenbukharie in forum General
    Replies: 1
    Last Post: - 20th March 2009, 06:00
  3. new and need help
    By smeghead in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd November 2008, 21:19
  4. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03:30
  5. simple LED Blinking project
    By koossa in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th December 2004, 02:25

Members who have read this thread : 1

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