Pages: [1]   Go Down
Author Topic: Where is File definition?  (Read 432 times)
0 Members and 1 Guest are viewing this topic.
Central MN, USA
Offline Offline
Tesla Member
***
Karma: 72
Posts: 7171
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8669
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

And, yes, it's derived from Stream:
Code:
    class File : public Stream {
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 72
Posts: 7171
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


Pages: [1]   Go Up
Jump to: