Sir m building the following code on MPLAB but m getting the following error,please guide me as soon as possible.
THE CODE IS:
Collapse | Copy Code
#include <htc.h>
#include <pic.h>
#include <delay.c>
main()
{
TRISB=0; // declare portb as outpot
for(;
// do forever
{
RB0=1; // LED ON
DelayMs(250); // delay for 0.25 seconds
RB0=0; // LED OFF
DelayMs(250);
}
}
ERROR:
Build D:\mplab files\testing for device 16F84
Using driver C:\Program Files (x86)\HI-TECH Software\PICC\9.71a\bin\picc.exe
Executing: "C:\Program Files (x86)\HI-TECH Software\PICC\9.71a\bin\picc.exe" -otesting.cof -mtesting.map --summary=default --output=default --chip=16F84 -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
(1273) Omniscient Code Generation not available in Lite mode (warning)
HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.71a
Copyright (C) 2010 Microchip Technology Inc.
Error [939] ; . no file arguments
********** Build failed! **********