
Chapter 12 Device Logic (Pawn)
12.3.17.2 Functions
native Led_Init(mode);
Initialises the two-colour LED
Parameter
Explanation
mode
Selection of whether the two-colour LED is controlled by the firmware or script
LED_MODE_
INTERNAL :
The two-colour LED is used to indicate the operating
state (see "Two-colour LED" on page 71).
LED_MODE_SCRIPT : The state of the two-colour LED can be controlled by
the "Led_On", "Led_Off", "Led_Blink" and "Led_Flash"
script functions.
Explanation
Return value
l
OK, if successful
l
ERROR, if an invalid parameter was transferred
native Led_Close();
Deactivates the two-colour LED. The two-colour LED cannot be controlled by the firmware or the script
functions.
Explanation
Return value
OK, if successful
native Led_On(bool:red, bool:green);
The two-colour LED consists of a red and a green LED that can be switched on separately by this
function. If both LEDs are switched on simultaneously, the two-colour LED lights up orange.
Parameter
Explanation
red
true: The red LED is switched on.
green
true: The green LED is switched on.
Explanation
Return value
l
OK, if successful
l
ERROR, if an invalid parameter was transferred
Rev. 01
155
Содержание myDatalogEASY IoTmini
Страница 2: ......
Страница 11: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 01 11 ...
Страница 12: ......
Страница 34: ......
Страница 66: ......
Страница 78: ......
Страница 82: ......
Страница 186: ......
Страница 194: ......
Страница 196: ......
Страница 202: ......
Страница 205: ...Chapter 19 Document history Chapter 19 Document history Rev Date Changes 01 28 08 2020 First version Rev 01 205 ...
Страница 206: ......
Страница 208: ......