22. High-level API Reference
282
www.yoctopuce.com
YDisplay
display
→
set_enabled()
display
→
setEnabled()
Changes the power state of the display.
js
function set_enabled(
newval
)
cpp
int set_enabled( Y_ENABLED_enum
newval
)
m
-(int) setEnabled : (Y_ENABLED_enum)
newval
pas
function set_enabled(
newval
: Integer): integer
vb
function set_enabled( ByVal
newval
As Integer) As Integer
cs
int set_enabled( int
newval
)
java
int set_enabled( int
newval
)
uwp
Task<int> set_enabled( int
newval
)
py
def set_enabled(
newval
)
php
function set_enabled(
$newval
)
es
function set_enabled(
newval
)
cmd
YDisplay
target
set_enabled
newval
Parameters :
newval
either
Y_ENABLED_FALSE
or
Y_ENABLED_TRUE
, according to the power state of the
display
Returns :
YAPI_SUCCESS
if the call succeeds.
On failure, throws an exception or returns a negative error code.
Содержание Yocto-Display
Страница 1: ...Yocto Display User Manual...
Страница 2: ......
Страница 40: ...34 www yoctopuce com...
Страница 52: ...46 www yoctopuce com...
Страница 84: ...78 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...22 High level API Reference 152 www yoctopuce com On failure throws an exception or returns a negative error code...
Страница 422: ...416 www yoctopuce com...
Страница 424: ...24 Characteristics 418 www yoctopuce com...