Edit

Share via


Tcs3472x.SetInterrupt Method

Definition

Overloads

SetInterrupt(Boolean)

Set/Clear the colors and clear interrupts

SetInterrupt(InterruptState, Boolean)

Set/clear a specific interrupt persistence This is used to have more than 1 cycle before generating an interruption.

SetInterrupt(Boolean)

Set/Clear the colors and clear interrupts

public void SetInterrupt (bool state);
member this.SetInterrupt : bool -> unit
Public Sub SetInterrupt (state As Boolean)

Parameters

state
Boolean

true to set all interrupts, false to clear

Applies to

SetInterrupt(InterruptState, Boolean)

Set/clear a specific interrupt persistence This is used to have more than 1 cycle before generating an interruption.

public void SetInterrupt (Iot.Device.Tcs3472x.InterruptState interupt, bool state);
member this.SetInterrupt : Iot.Device.Tcs3472x.InterruptState * bool -> unit
Public Sub SetInterrupt (interupt As InterruptState, state As Boolean)

Parameters

interupt
InterruptState

The percistence cycles

state
Boolean

True to set the interrupt, false to clear

Applies to