
22. High-level API Reference
236
www.yoctopuce.com
display
→
get_displayType()
Returns the display type: monochrome, gray levels or full color.
display
→
get_displayWidth()
Returns the display width, in pixels.
display
→
get_enabled()
Returns true if the screen is powered, false otherwise.
display
→
get_errorMessage()
Returns the error message of the latest error with the display.
display
→
get_errorType()
Returns the numerical error code of the latest error with the display.
display
→
get_friendlyName()
Returns a global identifier of the display in the format
MODULE_NAME.FUNCTION_NAME
.
display
→
get_functionDescriptor()
Returns a unique identifier of type
YFUN_DESCR
corresponding to the function.
display
→
get_functionId()
Returns the hardware identifier of the display, without reference to the module.
display
→
get_hardwareId()
Returns the unique hardware identifier of the display in the form
SERIAL.FUNCTIONID
.
display
→
get_layerCount()
Returns the number of available layers to draw on.
display
→
get_layerHeight()
Returns the height of the layers to draw on, in pixels.
display
→
get_layerWidth()
Returns the width of the layers to draw on, in pixels.
display
→
get_logicalName()
Returns the logical name of the display.
display
→
get_module()
Gets the
YModule
object for the device on which the function is located.
display
→
get_module_async(
callback
,
context
)
Gets the
YModule
object for the device on which the function is located (asynchronous version).
display
→
get_orientation()
Returns the currently selected display orientation.
display
→
get_startupSeq()
Returns the name of the sequence to play when the displayed is powered on.
display
→
get_userData()
Returns the value of the userData attribute, as previously stored using method
set_userData
.
display
→
isOnline()
Checks if the display is currently reachable, without raising any error.
display
→
isOnline_async(
callback
,
context
)
Checks if the display is currently reachable, without raising any error (asynchronous version).
display
→
load(
msValidity
)
Preloads the display cache with a specified validity duration.
display
→
loadAttribute(
attrName
)
Returns the current value of a single function attribute, as a text string, as quickly as possible but without using
the cached value.
Содержание 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...