Reference Language | Libraries | Comparison | Changes
Writes binary data to the I2S interface. This data is sent as a sample or series of samples.
I2S.write(val) // blocking
I2S.write(buf, len) // not blocking
val: a value to send as a single sample
buf: an array to send as a series of samples
len: the length of the buffer
byte
write() will return the number of bytes written, though reading that number is optional.
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.