PreviousNext
setOffPulsingLED
Help > OS functions > LED indication > setOffPulsingLED

Function

 

LEDs Off time setting (red as well as green)

Purpose

 

Specification of the "Off" time for LEDs (for blinking)

Syntax

 

void setOffPulsingLED(uns8 ticks)

Parameters

 

ticks: number of ticks (10 ms system intervals) (1-255)

Return value

 

  –

Output values

 

  –

Preconditions

 

  –

Remarks

 

The default value is 20 (200 ms).

Side effects

 

  –

See also

 

setOnPulsingLED, pulsingLEDR, pulsingLEDG

Example

 

   // Change blinking to 250 ms On / 750 ms Off

setOnPulsingLED(25);      // 250 ms On

setOffPulsingLED(75);     // 750 ms Off