Novice 16F83A BLINK LED program help


Results 1 to 15 of 15

Threaded View

  1. #9
    Join Date
    Jul 2007
    Posts
    10


    Did you find this post helpful? Yes | No

    Default

    I tried adding the following configuration code to my program.
    @ DEVICE XT_OSC
    @ DEVICE PIC16F84A,XT_OSC
    @ DEVICE pic16F84A, INTRC_OSC_NOCLKOUT
    ' System Clock Options
    @ DEVICE pic16F84A, WDT_ON
    ' Watchdog Timer
    @ DEVICE pic16F84A, PWRT_ON
    ' Power-On Timer
    @ DEVICE pic16F84A, MCLR_ON
    @ DEVICE pic16F84A, BOD_ON
    ' Brown-Out Detect
    @ DEVICE pic16F84A, LVP_OFF
    ' Low-Voltage Programming
    @ DEVICE pic16F84A, CPD_OFF
    ' Data Memory Code Protect
    ' Set to CPD_OFF for Development Copy
    ' Set to CPD_ON for Release Copy
    @ DEVICE pic16F84A, PROTECT_OFF

    But I get errors when I compile now.

    Error ... Undefined symbol 'lvp_off'

    In addition to the configuration stuff, do I have to INCLUDE anything in my program?
    Last edited by owali; - 24th July 2007 at 16:53.

Similar Threads

  1. Conway's Game Of Life
    By wellyboot in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 28th May 2020, 07:14
  2. Free Project - 245 LED Display
    By T.Jackson in forum Code Examples
    Replies: 221
    Last Post: - 16th August 2009, 05:59
  3. Simple Blink program doesnt work.
    By sccoupe in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 1st March 2009, 21:30
  4. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03:30
  5. PIC16F684 Program question
    By Nicholas in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th December 2006, 15:30

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