Link Search Menu Expand Document

Pattern Applier

Pattern Applier

Given an input list, this applies each element of a list to the individual addresses matching an address pattern.

For instance, given the list:

[ 1, 6, 4, 5, 12, 4, 56 ]

and the device:

... etc

Then the following will write 1 to leds:/brightness/0, 6 to leds:/brightness/1, etc.

Pattern Applier