Serial to I2s #1190
-
I have audio coming in over serial and would like it to be forwarded to a speaker and to a ble serial port. From the documentation i understand that the "audio source" can be any class implementing streaming so serial should work. I do fail to understand how to define this "in" stream. Any pointers? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You are thinking too complicated: the standard Arduino Serial object is implementing Stream, so that's what you would use! |
Beta Was this translation helpful? Give feedback.
-
Thank you, seems i somehow failed to find this example https://github.com/pschatzmann/arduino-audio-tools/blob/main/examples/examples-communication/serial/send-8bit-receive/send-8bit-receive.ino |
Beta Was this translation helpful? Give feedback.
You are thinking too complicated: the standard Arduino Serial object is implementing Stream, so that's what you would use!
I suggest that you have a look at the corresponding examples that can be found in the examples-communication/serial folder