What is error in this code i am using hi tech c compiler
- Code: Select all
#include <htc.h>
#define _XTAL_FREQ 2000000
void main()
{
TRISB=0x00;
while(1)
{
PORTB=0xf0;
PORTB=0x0f;
__delay_ms(10);
}
}
HI-TECH PICC-Lite COMPILER (Microchip PICmicro) V9.50PL2
Copyright (C) 1984-2006 HI-TECH SOFTWARE
Error [499] ; . undefined symbol:
___delay_ms (INDIAA.obj)