PureData CEAMMC library web documentation
доступно с версии: 0.5
Arduino serial port tha t supports reconnect and hotplug. If no properties are given tries to connect to first available and not opened device. If @reconnect flag is given, waits for device hotplug and reconnects to it.
PORT
serial port name, eg.: COM3 on Windows, /dev/ttyACM0 on Linux and
/dev/cu.usbmodem411 on MacOSX
тип: symbol
RATE
serial baud rate
тип: int
connect
manually connect to device
disconnect
disconnect from device
@port (initonly)
Запросить/установить name of arduino serial port, eg.: COM3 on Windows, /dev/ttyACM0 on Linux and
/dev/cu.usbmodem411 on MacOSX. If specified on creation tries to connect to
this device only
тип: symbol
@serial
Запросить/установить USB device serial number. If specified at creation, tries to connect to devices
only with such serial number
тип: symbol
@rate
Запросить/установить serial baud rate. Standard value supported by most serial ports: 110, 300, 600,
1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 56000, 57600, 115200
тип: int
варианты: 57600, 110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400, 56000, 115200, 128000, 256000
по умолчанию: 57600
@vendor_id
Запросить/установить USB device vendor id. If specified at creation, tries to connect to devices
only with such vendor. Note: vendor id is specified in decimal mode, not in hex
тип: int
по умолчанию: 0
@product_id
Запросить/установить USB device product id. If vendor and product ids are specified at creation,
tries to connect to devices only with such properties. Note: product id is
specified in decimal mode, not in hex
тип: int
по умолчанию: 0
@reconnect (initonly)
Запросить/установить enables hot-pluggin
тип: flag
по умолчанию: 0
@connected (readonly)
Запросить state of connection to device
тип: bool
по умолчанию: 0
@devices (readonly)
Запросить list of found Arduino devices
тип: list
@on_connect
Запросить/установить function called every time on connect
тип: symbol
Авторы: Serge Poltavsky
Лицензия: GPL3 or later