setPin

suspend fun setPin(pin: Byte, value: Byte)

Sets the state of a single pin.

Parameters

pin

The pin to change the state of

value

New value to set for the pin