[Ethernet]
描述
Write data to the server the client is connected to. This data is sent as a byte or series of bytes.
語法
EthernetClient client; client.write(val) client.write(buf, len)
參數
val
: a value to send as a single byte (byte or char)buf
: an array to send as a series of bytes (byte or char)len
: the length of the buffer
回傳
byte (write()
returns the number of bytes written. It is not necessary to read this value.)
函式庫參考主頁面
86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。