Hi, I have been working on LPC2478 with the uvision IDE. Right now I am trying to bring a file on the SD card and open it in the web browser. I already have a function that extracts the required data from the files on SD card and makes plots with those values. Keil provides an example named upload to put a file on user computer on to the SD card. I am looking for the reverse. Please let me know if any one has a clue.
Thanks, Ram.
Sivaram,
Isn't \\ the folder sign, and in a function like
f = fopen ((const char*)fname,"r")
how to specify that fname is from a folder
Thanks
Do an sprintf into fname with the folder you want the compiler to go thru...
sprintf((char *)fname,"Panel%d\\d09%02d%02d.csv",plot_month+1,plot_month+1,plot_date+1)
here my folder name is Panel with a subscript of month number.
Then the file names are d09monthdate
Thanks a lot!