PIC16F819 LED not blinking


Results 1 to 16 of 16

Threaded View

  1. #4


    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.

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