I know very little about coding....
I need a sample code for getting the filename from serial.read (myFileRead = SD.open(filename); )
Thanks....
I know very little about coding....
I need a sample code for getting the filename from serial.read (myFileRead = SD.open(filename); )
Thanks....
I need a sample code for getting the filename from serial.read
What have you tried? What application is sending serial data? How is the packet end defined? That is, how is the Arduino supposed to know that the end of the file name has arrived?
Look at the SD examples in the arduino IDE.
I actually recently had a thread about this where you should be able to do what you want, as well as see any potential pitfalls in the way I did it. Basically, you'll take the user input from Serial and use that as a variable to use SD.open().
Piethon:
I actually recently had a thread about this where you should be able to do what you want, as well as see any potential pitfalls in the way I did it. Basically, you'll take the user input from Serial and use that as a variable to use SD.open().
Thanks a lot....
That's what I'm looking for.....
It worked....