Darrel, so I cut-n-pasted your exact code into a new project, changed only the LCD VARs, and am now getting much farther than before...but...
Now I'm getting stuck when LCD_Anypin.pbp compiles, the code is cut from your 1st post, my only change was:
Code:
LCD_DB4 VAR PORTB.5
LCD_DB5 VAR PORTB.4
LCD_DB6 VAR PORTB.3
LCD_DB7 VAR PORTB.2
LCD_RS VAR PORTB.7
LCD_E VAR PORTB.6
and here is my latest spew:
(MPLAB v8.4/PBP v2.6)
Executing: "D:\PBP\PBPMPLAB.BAT" -ampasmwin -k# -p16F883 "Untitled.bas"
Executing: "D:\PBP\PBPW.EXE" -ampasmwin -k# -p16F883 "Untitled.bas"
PICBASIC PRO(TM) Compiler 2.60, (c) 1998, 2009 microEngineering Labs, Inc.
All Rights Reserved.
Pass 1:
Pass 2:
Code Gen:
Macro Pass:
mpasmwin /o- "D:\PIC Projects\Untitled.ASM"
COFF Pass:
Executing: "D:\PBP\PBPMPLAB.BAT" -ampasmwin -k# -p16F883 "D:\PBP\VirtualPort.bas"
Executing: "D:\PBP\PBPW.EXE" -ampasmwin -k# -p16F883 "D:\PBP\VirtualPort.bas"
PICBASIC PRO(TM) Compiler 2.60, (c) 1998, 2009 microEngineering Labs, Inc.
All Rights Reserved.
Pass 1:
Pass 2:
Code Gen:
Macro Pass:
mpasmwin /o- D:\PBP\VirtualPort.ASM
COFF Pass:
Executing: "D:\PBP\PBPMPLAB.BAT" -ampasmwin -k# -p16F883 "D:\PBP\LCD_AnyPin.pbp"
Executing: "D:\PBP\PBPW.EXE" -ampasmwin -k# -p16F883 "D:\PBP\LCD_AnyPin.pbp"
PICBASIC PRO(TM) Compiler 2.60, (c) 1998, 2009 microEngineering Labs, Inc.
All Rights Reserved.
Pass 1:
D:\PBP\LCD_ANYPIN.PBP ERROR Line 87: Bad expression.
Line 00087: LOW LCD_RS : HIGH LCD_E ; Start with RS LOW and Enable High
D:\PBP\LCD_ANYPIN.PBP ERROR Line 87: Bad expression.
Line 00087: LOW LCD_RS : HIGH LCD_E ; Start with RS LOW and Enable High
Pass 2:
Code Gen:
Macro Pass:
Halting build on first failure as requested.
BUILD FAILED: Sat Nov 14 23:28:52 2009
Is the error on line 87 something I've done/not-done?
Bookmarks