Problem with Compiling


Results 1 to 3 of 3

Threaded View

  1. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by tarexpanda View Post
    I tried to do a really simple blink led, but my code won't compile!
    Every time I try to compile:

    @ DEVICE PIC16F877A, HS_OSC, WDT_OFF, PROTECT_OFF, LVP_OFF
    DEFINE OSC 20
    LED VAR PORTB.2

    TRISB=%00000000
    PORTB=%00000000

    main:
    low LED
    pause 1000
    high LED
    pause 1000
    goto main
    END

    I get an error message that says I have an undefined symbol 'pic16f877a'
    What can I do to fix this?
    Which version of PBP are you using? 2.??
    For that matter, did you try simply really hard to read the green manual?
    Last edited by skimask; - 11th April 2007 at 04:59.

Similar Threads

  1. Problem compiling EasyHID code
    By mindthomas in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th August 2010, 20:46
  2. Replies: 14
    Last Post: - 31st March 2009, 12:04
  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. Microcode Studio 18f2455 problem?????
    By volkan in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 21st May 2007, 21:04
  5. weird 12F629/675 problem
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 7th October 2004, 01:08

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