Camera Device icon Camera Device — Use PC or robot cameras for vision tracking: color, QR, glyph, face, object, motion; record video/data, control servos and movement, run scripts Try it →
 

Write

COM.write(port, byte/byteArray)

Parameters

port COM port name as a string.
byte/byteArray Byte or byte array to write to the COM port.

Returns

Nothing

Description

Writes one byte given by byte to the specified COM port. If a byte array is provided instead, the byte array given by byteArray will be written to the specified COM port.