Hi!
I am using IAR Embedded Workbench for MSP430FG4618. I want to write the data from
memory or I/O or ADC output to a datafile located in the Personal Computer. From the help
I understood that, first I need to open the data file. Example to open the file is given as:
__var filehandle;
filehandle=__openFile("Debug\\Exe\\test.tst","r"); /* For writing it should be w*/
if(filehandle)
{
/*successful opening */
}
I declared:
int filehandle;
as __var is not accepted.
then in the main:
filehandle=__openFile("try1.dat","r");
At the time of build I am getting an error.
Please, help.
Best Regards
--Mala Mitra