Go Down

Topic: Where is File definition? (Read 997 times) previous topic - next topic

liuzengqiang

I am trying to convert printing Serial debug information into saving them to SD card. I thought that File might be derived from Stream but I can't find where File is defined. Can someone help me? Thanks.
Serial LCD keypad panel,phi_prompt user interface library,SDI-12 USB Adapter

johnwasser

/Applications/Arduino 1.0.1.app/Contents/Resources/Java/libraries/SD/SD.h

And, yes, it's derived from Stream:
Code: [Select]

    class File : public Stream {
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

liuzengqiang

Thanks John. I guess I would be able to do it then. Just need to replace all the Serial with a pointer. Not too hard.
Serial LCD keypad panel,phi_prompt user interface library,SDI-12 USB Adapter

Go Up