NurApiSetGPIOStatus Method

Set single GPIO pin state. NOTE: GPIO must be configured as output

Definition

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

Parameters

gpio  Int32
Zero based GPIO number.
state  Boolean
State to set. true = high, false = low.

See Also