int write(byte value)
Throws:
int write(byte[] buf)
Throws:
int write(byte[] buf, int offset, int len)
Throws:
int write(String value)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
write(byte value) method:
Parameter | Description |
---|---|
value | byte that should be sent |
The value paramter is a single byte which should be transmitted.
write(byte[] source, int offs, int count) method:
Parameter | Description |
---|---|
source | bytes that should be sent |
offs | offset to the first data byte |
count | number of the data byte |
The source parameter is a byte array which should be transferred. The number of data bytes must be specified by the count parameter. The offs paramter specifies the offset to the first byte in the source byte array.
write(String source) method:
Parameter | Description |
---|---|
source | String that should be sent |
The source parameter is a string which should be transmitted.
Note
Example
uart.write("text message");
The code above writes one whole text message over the UART port.
See also:
Copyright © demmel products gmbh. All rights reserved.