Go Down

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

liudr

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

liudr

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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy