setPins

suspend fun setPins(pinsAndValues: List<Pair<Byte, Byte>>)

Sets the states of multiple pins.

Parameters

pinsAndValues

List of pairs, where the first value of each pair is the pin, and the second value of each pair is the value which that pin should be set to.