Palette:firmata Ext

From TouchDesigner Documentation
Revision as of 11:51, 11 May 2020 by Markus Heckmann (talk | contribs) (Created page with "{{ExtSummary |COMPName=firmata |opFamily=COMP |short= |long=}} {{ExtClassSummary |COMPName= |class=FirmataExt |short= |long=FirmataExt description |empty=False}} {{Ex...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

These Extentions reference a specific Palette:firmata.


FirmataExt description


No operator specific members.



Sends a Analog Mapping Request to the Serial DAT


Sends a Capability Request to the Serial DAT

FirmataExt.QueryState(pin=None, send=True)bytearray:

Sends a Pin State Request to the Serial DAT, returns the message.

  • pin - (Keyword, Optional) integer number of the pin
  • send - (Keyword, Optional) select if the message should be send to the Serial DAT


Sends a Firmware request to the Serial DAT


Enable and Disable the reporting for all analog pins.

  • state - (Keyworkd, Optional) Turn analog reporting on or off.


Enable and Disable the reporting for all digital pins

  • state - (Keyword, Optional) Turn digital reporting on or off.


Resets the internaly stored data about the connected arduino.

FirmataExt.SetMode(pin, mode)None:

Constructs a message to set a pin to the specified mode.

  • pin - The pin number.
  • mode - The mode identifier.


Set the Sampling Interval for Firmata in ms. 19: default 99: Arduino Mega

  • interval - intNumber of ms of the sampling interval

FirmataExt.SetValue(pin, value)None:

Creates the message for sending a value to a pinand sends the message to the serial DAT.

  • pin - The number of the pin.
  • value - The value to set the pin to.

An Operator Family that manipulates text strings: multi-line text or tables. Multi-line text is often a command Script, but can be any multi-line text. Tables are rows and columns of cells, each containing a text string.