hi,
I have written the below code in IAR Workbench.But it doesnt work.The error is
Fatal Error[Pe1696]: cannot open source file "io310.h" D:\IAR\lcd\main.c
#include "io430.h"
/* This example demonstrates how to display digits on the
LCD 4 MUX method */
/* enable use of extended keywords */
#pragma language=extended
/* include sfrb/sfrw definitions for I/O registers */
#include "io310.h"
char digit[10] = {
0xB7, /* "0" LCD segments a+b+c+d+e+f */
0x12, /* "1" */
0x8F, /* "2" */
0x1F, /* "3" */
0x3A, /* "4" */
0x3D, /* "5" */
0xBD, /* "6" */
0x13, /* "7" */
0xBF, /* "8" */
0x3F /* "9" */
};
void main(void)
{
int i;
/* Initialize LCD driver (4Mux mode) */
LCDCTL = 0xFF;
/* display "6543210" */
for (i=0; i<7; ++i)
LCDMEM[i] = digit[i];
}
Can you please suggest the solution for the error