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 66a579d commit c0c735dCopy full SHA for c0c735d
examples/examples-communication/http-client/streams-http_post/streams-http_post.ino
@@ -18,7 +18,7 @@ GeneratedSoundStream<int16_t> sound(sineWave);
18
TimedStream timed(sound);
19
WiFiClient client;
20
HttpRequest http(client);
21
-StreamCopy copier(http, sound); // copy kit to kit
+StreamCopy copier(http, timed);
22
23
void startWiFi() {
24
WiFi.mode(WIFI_STA);
@@ -43,7 +43,7 @@ void setup(void) {
43
// Setup sine wave
44
sineWave.begin(info, N_B4);
45
46
- // limit the size of the input stream
+ // limit the size of the input stream to 60 seconds
47
timed.setEndSec(60);
48
timed.begin();
49
0 commit comments