PreviousNext
toggleLEDG
Help > Macros > LED indication > toggleLEDG

Macro

 

Toggle the green LED

Purpose

 

To change the state of the green LED

Syntax

 

void toggleLEDG()

Parameters

 

 –

Return value

 

 –

Output values

 

The green LED output is inverted.

Preconditions

 

Avoid this toggle if the green 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

 

setLEDG, stopLEDG, pulseLEDG, pulsingLEDG

Example

 

toggleLEDG()        // Toggle the red LED