PreviousNext
pulsingLEDR
Help > OS functions > LED indication > pulsingLEDR

Function

 

Red LED blinking

Purpose

 

Continuous red LED blinking on OS background

Syntax

 

void pulsingLEDR()

Parameters

 

  –

Return value

 

  –

Output values

 

  –

Preconditions

 

Blinking times should be defined in advance by setOnPulsingLED and setOffPulsingLED.

Remarks

 

Blinking continues until it is changed (e.g. by stopLEDR).

Side effects

 

See also

 

setOnPulsingLED, setOffPulsingLED, setLEDR, stopLEDR, pulseLEDR

Example 1

 

pulsingLEDR();             // continuous blinking on OS background

Example 2

 

   // Blinking for 2 s

pulsingLEDR();             // blinking for 2 s on OS background

waitDelay(200);            // 2 s delay generated on foreground

stopLEDR();                // Stop blinking