@file streams-url_raw-serial.ino stop serial when file end #302
-
@file streams-url_raw-serial.ino This example continuously send data to serial plotter . How can we stop when the url file end or complete ? also can we stop in mid and then resume later ? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
also can we stop in the mid and then resume later ?? |
Beta Was this translation helpful? Give feedback.
-
Sure. Just make sure that the copy in the loop is not executed if you want pause. |
Beta Was this translation helpful? Give feedback.
-
Is serial data same as data present in raw file or its factor to some value in order to plot in serial-PLOTER . i want to compare this Serial data with original raw data present in file . . How to get back original data ? |
Beta Was this translation helpful? Give feedback.
-
It is just convertering the binary values to a string so that you can read it. If you want to see the binary data instead you can use a HexDumpStream as output instead. |
Beta Was this translation helpful? Give feedback.
Sure. Just make sure that the copy in the loop is not executed if you want pause.
If you are new in programming you can consider to use the AudioPlayer class instead where you can call stop() and play()