I'm trying to compile a simple code but I get this error, I'm running CDLite and PBP2.46
@ DEVICE INTRC_OSC, WDT_OFF, MCLR_OFF, CCPMX_OFF
DEFINE OSC 1
DEFINE ADC_BITS 8 'Set number of bits in result
DEFINE ADC_CLOCK 3 'Set clock source (3=rc)
DEFINE ADC_SAMPLEUS 50 'Set sampling time in us
TRISA = %00000001 'Set I/O
TRISB = %00000000 'Set I/O
ADCON1 = %10001110 'Right justify result set PORTA.0 ana, rest digi
OSCCON = %01000000 'Set internal osc to 1MHz
temp VAR BYTE
rst1 VAR PORTB.3 'DS1267 POT1 chip select port
clk VAR PORTB.4 'DS1267 POTS clock port
dq VAR PORTB.2 'DS1267 POTS Data port
PORTA = 0
PORTB = 0
Clear
Start:
ADCIN 0,temp
High rst1 'activate pot
ShiftOut dq,clk,1,[%0\1,temp,temp]
Low rst1
GoTo start
Here's the error msg:
PM Assembler 4.07,Copyright (c) 1995, 2004 microEngineering Labs, Inc
Error C:\PROGRA~1\PICBAS~1.16\PBPPIC14.LIB 5807 : [225] Undefined Symbol 'PAUSEUSL'
*** 1 Error ***
PicBasic Pro Compiler 2.46, (c) 1998, 2005 microEngineering Labs, Inc.
What I have noticed is two things, firstly I don't have the .INC and .BAS files for a 16F819 which is weird cos i recently upgraded to the latest version of PBP, and te error line "Error C:\PROGRA~1\PICBAS~1.16\PBPPIC14.LIB 5807 " is pointing to something 1.16???
How come u can't copy and paste from the compiler output screen??
Thanks for any help
George
Bookmarks