22. High-level API Reference
252
www.yoctopuce.com
YDisplay
display
→
get_enabled()
display
→
enabled()
Returns true if the screen is powered, false otherwise.
js
function get_enabled( )
cpp
Y_ENABLED_enum get_enabled( )
m
-(Y_ENABLED_enum) enabled
pas
function get_enabled( ): Integer
vb
function get_enabled( ) As Integer
cs
int get_enabled( )
java
int get_enabled( )
uwp
Task<int> get_enabled( )
py
def get_enabled( )
php
function get_enabled( )
es
function get_enabled( )
cmd
YDisplay
target
get_enabled
Returns :
either
Y_ENABLED_FALSE
or
Y_ENABLED_TRUE
, according to true if the screen is powered, false
otherwise
On failure, throws an exception or returns
Y_ENABLED_INVALID
.
Summary of Contents for Yocto-Display
Page 1: ...Yocto Display User Manual...
Page 2: ......
Page 40: ...34 www yoctopuce com...
Page 52: ...46 www yoctopuce com...
Page 84: ...78 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 130: ...124 www yoctopuce com...
Page 422: ...416 www yoctopuce com...