Function |
|
Red LED on |
Purpose |
|
Sets the red LED permanently on |
Syntax |
|
void setLEDR() |
Parameters |
|
– |
Return value |
|
– |
Output values |
|
– |
Preconditions |
|
– |
Remarks |
|
• Use this instead of direct handling the appropriate MCU pin (LEDR = 1). • Possible previous LED activity (e.g. pulsing in OS background) is terminated. |
Side effects |
|
– |
See also |
|
|
Example |
|
setLEDR(); // Red LED on ... // Shining continues stopLEDR(); // Until stopped |