PreviousNext
toggleLEDR
Help > Macros > LED indication > toggleLEDR

Macro

 

Toggle the red LED

Purpose

 

To change the state of the red LED

Syntax

 

void toggleLEDR()

Parameters

 

 –

Return value

 

 –

Output values

 

The red LED output is inverted.

Preconditions

 

Avoid this toggle if the red LED pulse or pulsing is in progress in background. Take into consideration whether such a pulse/pulsing LED command can be received wirelessly (DPA request).

Remarks

 

 –

Side effects

 

 –

See also

 

setLEDR, stopLEDR, pulseLEDR, pulsingLEDR

Example

 

toggleLEDR()        // Toggle the red LED