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