Arduino Toolkit - @arduino/incrementResourceCount


: count = incrementResourceCount (ar, resource)

Increment the count value of a named resource by 1 and return the new count

Inputs

ar - connected arduino object

resource - name of resource to increment count.

Outputs

count = count of uses registered to resource.

See also: getResourceCount. decrementResourceCount.