Arduino Toolkit - @arduino/setSharedResourceProperty


: setSharedResourceProperty (ar, resource, propname, propvalue)
: setSharedResourceProperty (ar, resource, propname, propvalue, ___)

Set property values for a given resource.

Inputs

ar - connected arduino object

resource - name of resource to get property for.

propname - name of property from the resource.

propvalue - value of property from the resource.

Multiple propname, propvalue pairs can be given.

Outputs

None

Example

 
 ar = arduino();
 setSharedResourceProperty(ar, "myresource", "myproperty", [1 2 3])
 
 

See also: getSharedResourceProperty.