void Init_LCD( void ) // initialize LCD display
{
// 15mS delay after Vdd reaches nnVdc before proceeding with LCD initialization
// not always required and is based on system Vdd rise rate
Delay(Delay_15mS_Cnt); // 15ms delay
Error:
Executing: "C:\Program Files\PICC\Ccsc.exe" +FD "main_rtc.c" I+="C:\Microchip demo\h;C:\Microchip demo\other files" +DF +LN +T +A +M +Z +ICD +Y=0 +EA I+="..\h"
*** Error 112 "C:\Microchip demo\other files\lcd.c" Line 121(1,1): Function used but not defined: ... Delay SCR=985
1 Errors, 0 Warnings.
Halting build on first failure as requested.
BUILD FAILED: Wed Apr 16 07:28:03 2008
I am using CCS C version 4.071 with MPLAB 8.00.
Thanks
Ken
RLScott
Joined: 10 Jul 2007 Posts: 465
Re: Does CCS C compiler support functional prototypes?
Posted: Wed Apr 16, 2008 5:54 am
The compiler did not issue any error about the functional prototype, so I think that is OK. What the error said was that the function was not defined. The functional prototype does not define a function. It only declares a function. You still have to supply the function code itself. That is the "definition" that is lacking.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum