Firmata Device¶
Description¶
Interface to a microcontroller that supports the Firmata protocol.
Most Arduino boards and compatible devices (e.g. Teensy) can be configured to support the Firmata protocol via the Arduino Firmata library.
Signature¶
iodevice/firmata
Optional Parameters¶
serial_port¶
Example: | /dev/cu.usbmodem31 |
---|
Filesystem path that represents the serial port to which the Firmata device is connected.
If omitted, MWorks looks for a single, connected serial device. If it finds one, it assumes it to be the desired Firmata device and attempts to connect.
alt¶
Alternative device to use if this one fails to initialize (e.g. because the required hardware is not available). If #allowAltFailover
is set to 0 or false, this parameter is ignored.