make it compile with arduino 1.0 ; function is still untested.
This commit is contained in:
parent
b0c3871750
commit
0bc9daa4f7
8 changed files with 675 additions and 651 deletions
|
|
@ -34,7 +34,12 @@ class SdFile : public SdBaseFile, public Print {
|
|||
public:
|
||||
SdFile() {}
|
||||
SdFile(const char* name, uint8_t oflag);
|
||||
void write(uint8_t b);
|
||||
#if ARDUINO >= 100
|
||||
size_t write(uint8_t b);
|
||||
#else
|
||||
void write(uint8_t b);
|
||||
#endif
|
||||
|
||||
int16_t write(const void* buf, uint16_t nbyte);
|
||||
void write(const char* str);
|
||||
void write_P(PGM_P str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue