PIC12F629 flash led


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

    Default Re: PIC12F629 flash led

    Shouldn't DEFINE be uppercase?

    Robert

  2. #2
    Join Date
    Jan 2011
    Location
    Sydney, Australia
    Posts
    172


    Did you find this post helpful? Yes | No

    Default Re: PIC12F629 flash led

    You have set GPIO.0 as an input with your TRISIO = %00000001 statement.

    Try using TRISIO = 0 instead and see how it goes.

    Also, I am not sure of your purpose for the OSCCAL statement. IMO, it shouldn't be necessary for such a simple LED flash program.

    Cheers
    Barry
    VK2XBP

Similar Threads

  1. Pic12f629-i/p
    By karenhornby in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 13th June 2008, 20:50
  2. I can't even make an LED flash!
    By George in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 3rd April 2007, 06:39
  3. Ultrasound with PIC12F629
    By ewandeur in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th February 2007, 16:22
  4. elapsed time between two led flash...
    By dario in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 5th February 2006, 16:09
  5. can't even flash an LED
    By bruno333 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th April 2005, 13:27

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