blinking problem with PIC16f887


Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Jan 2010
    Posts
    14

    Default blinking problem with PIC16f887

    I'm using PIC16f887 with 20MHZ osc...my led connect to RD2.

    Define OSC 20

    TRISD = 0
    PORTD = 0

    MAIN:

    PORTD.2 = 1
    PAUSE 500
    PORTD.2 = 0
    PAUSE 500

    GOTO MAIN
    end

    why my led not blinking with 500ms ?? when i remove define osc 20...my led blinking correctly (500ms).
    Last edited by larzazral; - 25th January 2010 at 14:54.

Similar Threads

  1. Blinking an led problem on P16F84
    By aimenbukharie in forum General
    Replies: 1
    Last Post: - 20th March 2009, 05:00
  2. PIC16F887 Config problem
    By Agent36 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th November 2008, 22:38
  3. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  4. 7-segment display blinking problem?
    By serdar_ozcan in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th March 2006, 14:43
  5. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22: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