hi,
but after putting that define line in, stil not successful. and this cums out:
MPLAB C18 v3.00 (demo)
Copyright 1999-2005 Microchip Technology Inc.
Days remaining until demo becomes feature limited: 12
C:\Documents and Settings\user\My Documents\feng.c:13:Error [1105] symbol 'PIN_B0' has not been defined
C:\Documents and Settings\user\My Documents\feng.c:13:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:14:Error [1105] symbol 'PIN_B1' has not been defined
C:\Documents and Settings\user\My Documents\feng.c:14:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:23:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:24:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:25:Error [1105] symbol 'address' has not been defined
C:\Documents and Settings\user\My Documents\feng.c:25:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:26:Error [1105] symbol 'data' has not been defined
C:\Documents and Settings\user\My Documents\feng.c:26:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:27:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:28:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:29:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:32:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:33:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:42:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:43:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:44:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:45:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:46:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:47:Warning [2058] call of function without prototype
C:\Documents and Settings\user\My Documents\feng.c:48:Warning [2058] call of function without prototype
Halting build on first failure as requested.
BUILD FAILED: Thu Feb 09 13:52:55 2006