NurApiSetGPIOStatusMask Method

Set state for Gpio's specified by gpioMask
For example: value 0x50 set state for GPIO5 and GPIO7

Definition

Namespace: NurApiDotNet
Assembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
C#
public void SetGPIOStatusMask(
	int gpioMask,
	bool state
)

Parameters

gpioMask  Int32
Mask of GPIO's
state  Boolean
State to set. true = high, false = low.

See Also