|
|
@ -2,7 +2,7 @@
|
|
|
|
#define __CARDREADERH
|
|
|
|
#define __CARDREADERH
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef SDSUPPORT
|
|
|
|
#ifdef SDSUPPORT
|
|
|
|
|
|
|
|
|
|
|
|
#include "SdFile.h"
|
|
|
|
#include "SdFile.h"
|
|
|
|
enum LsAction {LS_SerialPrint,LS_Count,LS_GetFilename};
|
|
|
|
enum LsAction {LS_SerialPrint,LS_Count,LS_GetFilename};
|
|
|
|
class CardReader
|
|
|
|
class CardReader
|
|
|
@ -22,6 +22,7 @@ public:
|
|
|
|
void startFileprint();
|
|
|
|
void startFileprint();
|
|
|
|
void pauseSDPrint();
|
|
|
|
void pauseSDPrint();
|
|
|
|
void getStatus();
|
|
|
|
void getStatus();
|
|
|
|
|
|
|
|
void printingHasFinished();
|
|
|
|
|
|
|
|
|
|
|
|
void getfilename(const uint8_t nr);
|
|
|
|
void getfilename(const uint8_t nr);
|
|
|
|
uint16_t getnrfilenames();
|
|
|
|
uint16_t getnrfilenames();
|
|
|
|