File tree Expand file tree Collapse file tree 7 files changed +42
-0
lines changed Expand file tree Collapse file tree 7 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 11
11
// include the SD library:
12
12
#include < STM32SD.h>
13
13
14
+ // If SD card slot has no detect pin then define it as SD_DETECT_NONE
15
+ // to ignore it. One other option is to call 'card.init()' without parameter.
16
+ #ifndef SD_DETECT_PIN
17
+ #define SD_DETECT_PIN SD_DETECT_NONE
18
+ #endif
19
+
14
20
Sd2Card card;
15
21
SdFatFs fatFs;
16
22
Original file line number Diff line number Diff line change 12
12
13
13
#include < STM32SD.h>
14
14
15
+ // If SD card slot has no detect pin then define it as SD_DETECT_NONE
16
+ // to ignore it. One other option is to call 'SD.begin()' without parameter.
17
+ #ifndef SD_DETECT_PIN
18
+ #define SD_DETECT_PIN SD_DETECT_NONE
19
+ #endif
20
+
15
21
uint32_t A[] = { A0, A1, A2};
16
22
17
23
void setup ()
Original file line number Diff line number Diff line change 13
13
14
14
#include < STM32SD.h>
15
15
16
+ // If SD card slot has no detect pin then define it as SD_DETECT_NONE
17
+ // to ignore it. One other option is to call 'SD.begin()' without parameter.
18
+ #ifndef SD_DETECT_PIN
19
+ #define SD_DETECT_PIN SD_DETECT_NONE
20
+ #endif
21
+
16
22
void setup ()
17
23
{
18
24
// Open serial communications and wait for port to open:
Original file line number Diff line number Diff line change 10
10
*/
11
11
#include < STM32SD.h>
12
12
13
+ // If SD card slot has no detect pin then define it as SD_DETECT_NONE
14
+ // to ignore it. One other option is to call 'SD.begin()' without parameter.
15
+ #ifndef SD_DETECT_PIN
16
+ #define SD_DETECT_PIN SD_DETECT_NONE
17
+ #endif
18
+
13
19
File myFile;
14
20
15
21
void setup ()
Original file line number Diff line number Diff line change 1
1
#include < STM32SD.h>
2
2
3
+ // If SD card slot has no detect pin then define it as SD_DETECT_NONE
4
+ // to ignore it. One other option is to call 'SD.begin()' without parameter.
5
+ #ifndef SD_DETECT_PIN
6
+ #define SD_DETECT_PIN SD_DETECT_NONE
7
+ #endif
8
+
3
9
#define COUNTOF (__BUFFER__ ) (sizeof (__BUFFER__) / sizeof (*(__BUFFER__)))
4
10
#define BUFFERSIZE (COUNTOF(wtext) -1 )
5
11
Original file line number Diff line number Diff line change 11
11
12
12
#include < STM32SD.h>
13
13
14
+ // If SD card slot has no detect pin then define it as SD_DETECT_NONE
15
+ // to ignore it. One other option is to call 'SD.begin()' without parameter.
16
+ #ifndef SD_DETECT_PIN
17
+ #define SD_DETECT_PIN SD_DETECT_NONE
18
+ #endif
19
+
14
20
File myFile;
15
21
16
22
void setup ()
Original file line number Diff line number Diff line change 12
12
*/
13
13
#include < STM32SD.h>
14
14
15
+ // If SD card slot has no detect pin then define it as SD_DETECT_NONE
16
+ // to ignore it. One other option is to call 'SD.begin()' without parameter.
17
+ #ifndef SD_DETECT_PIN
18
+ #define SD_DETECT_PIN SD_DETECT_NONE
19
+ #endif
20
+
15
21
File root;
16
22
17
23
void setup ()
You can’t perform that action at this time.
0 commit comments