We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 273e9b2 commit 31e1ec0Copy full SHA for 31e1ec0
examples/examples-stream/streams-url-file/streams-url-file.ino
@@ -44,8 +44,9 @@ void setup(void) {
44
45
// copy file
46
file = SD.open("/audio-8000.raw", FILE_WRITE);
47
+ file.seek(0); // overwirte from beginning
48
copier.begin(file, url);
- copier.copyAll(retryCount);
49
+ copier.copyAll();
50
file.close();
51
52
file = SD.open("/audio-8000.raw");
0 commit comments