UBTECH Alpha Servos UBT-12HC icon UBTECH Alpha Servos UBT-12HC Control UBTECH Alpha UBT-12HC smart servos via ARC using EZ-B v4/IoTiny UART, assign virtual ports, set baud, custom bits and position mapping. 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.