Chapter 13 Device Logic (Pawn)
native Led_Off(bool:red, bool:green);
The two-colour LED consists of a red and a green LED that can be switched off separately by this
function.
Parameter
Explanation
red
true: The red LED is switched off.
green
true: The green LED is switched off.
Explanation
Return value
l
OK, if successful
l
ERROR, if an invalid parameter was transferred
native Led_Blink(red, green);
Enables the two-colour LED to flash (t
on
= 500ms , t
off
= 500ms ). The two-colour LED consists of a red
and a green LED. If both LEDs are used, the two-colour LED flashes orange.
Parameter
Explanation
red
-1 : The red LED remains switched off.
0 : The red LED flashes until it is deliberately switched off.
>0 : Number of times the red LED should flash
green
-1 : The green LED remains switched off.
0 : The green LED flashes until it is deliberately switched off.
>0 : Number of times the green LED should flash
Explanation
Return value
l
OK, if successful
l
ERROR, if an invalid parameter was transferred
native Led_Flash(red, green);
Enables the two-colour LED to briefly flash every 500ms . The two-colour LED consists of a red and a
green LED. If both LEDs are used, the two-colour LED briefly flashes orange.
Parameter
Explanation
red
-1 : The red LED remains switched off.
0 : The red LED briefly flashes at regular intervals until it is deliberately switched off
>0 : Number of times the red LED should briefly flash at regular intervals
green
-1 : The green LED remains switched off.
0 : The green LED briefly flashes at regular intervals until it is deliberately switched off
>0 : Number of times the green LED should briefly flash at regular intervals
Explanation
Return value
l
OK, if successful
l
ERROR, if an invalid parameter was transferred
Rev. 05
205
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......