22. High-level API Reference
www.yoctopuce.com
237
display
→
load_async(
msValidity
,
callback
,
context
)
Preloads the display cache with a specified validity duration (asynchronous version).
display
→
muteValueCallbacks()
Disables the propagation of every new advertised value to the parent hub.
display
→
newSequence()
Starts to record all display commands into a sequence, for later replay.
display
→
nextDisplay()
Continues the enumeration of displays started using
yFirstDisplay()
.
display
→
pauseSequence(
delay_ms
)
Waits for a specified delay (in milliseconds) before playing next commands in current sequence.
display
→
playSequence(
sequenceName
)
Replays a display sequence previously recorded using
newSequence()
and
saveSequence()
.
display
→
registerValueCallback(
callback
)
Registers the callback function that is invoked on every change of advertised value.
display
→
resetAll()
Clears the display screen and resets all display layers to their default state.
display
→
saveSequence(
sequenceName
)
Stops recording display commands and saves the sequence into the specified file on the display internal
memory.
display
→
set_brightness(
newval
)
Changes the brightness of the display.
display
→
set_enabled(
newval
)
Changes the power state of the display.
display
→
set_logicalName(
newval
)
Changes the logical name of the display.
display
→
set_orientation(
newval
)
Changes the display orientation.
display
→
set_startupSeq(
newval
)
Changes the name of the sequence to play when the displayed is powered on.
display
→
set_userData(
data
)
Stores a user context provided as argument in the userData attribute of the function.
display
→
stopSequence()
Stops immediately any ongoing sequence replay.
display
→
swapLayerContent(
layerIdA
,
layerIdB
)
Swaps the whole content of two layers.
display
→
unmuteValueCallbacks()
Re-enables the propagation of every new advertised value to the parent hub.
display
→
upload(
pathname
,
content
)
Uploads an arbitrary file (for instance a GIF file) to the display, to the specified full path name.
display
→
wait_async(
callback
,
context
)
Waits for all pending asynchronous commands on the module to complete, and invoke the user-provided
callback function.
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...