External readwrite example work as well
This commit is contained in:
1 parent
eff1dd9187
commit
90b06938e6
1 file changed
+2
-2
@@ -24,7 +24,7 @@ File file (ExternalFS);
|
||||
void setup()
|
||||
{
|
||||
Serial.begin(115200);
|
||||
while ( !Serial ) {} // for nrf52840 with native usb
|
||||
while ( !Serial ) delay(10); // for nrf52840 with native usb
|
||||
|
||||
Serial.println("External Read Write File Example");
|
||||
Serial.println();
|
||||
@@ -40,7 +40,7 @@ void setup()
|
||||
Serial.println();
|
||||
|
||||
// Initialize Internal File System
|
||||
InternalFS.begin();
|
||||
ExternalFS.begin();
|
||||
|
||||
file.open(FILENAME, FILE_READ);
|
||||
|
||||
|
||||
Reference in new issue
Block a user