Program for ultrasonic range meter

Discussion in 'Embedded Systems and Microcontrollers' started by tyc8159, Mar 31, 2007.

  1. tyc8159

    Thread Starter New Member

    Dec 6, 2006
    6
    0
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Is the source code intended for your assembler?
     
  3. tyc8159

    Thread Starter New Member

    Dec 6, 2006
    6
    0
    //
    I've checked that the guy who wrote this program is use the MPLAB. So i assume the source code is intended for the assembler as the MPASMWIN is come together with the MPLAB package. The error that appeared was 'Symbol not previously defined' (113 errors), what problem do you think it is? This is my first PIC project, so there are a lots of thing i still learing, hope you understand my situation. thank you mate
     
  4. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    Code ( (Unknown Language)):
    1.  
    2. include p16f873.inc
    3.  
    One thing to make sure of is that the file referenced in the above include statement is both present on the compiling machine and located in a directory that the compiler is looking in for "include" files.

    This file most likely contains the define statements that are needed and not being found during the code compile process.

    hgmjr
     
Loading...