22. High-level API Reference
296
www.yoctopuce.com
YDisplayLayer
displaylayer
→
consoleOut()
Outputs a message in the console area, and advances the console pointer accordingly.
js
function consoleOut(
text
)
cpp
int consoleOut( string
text
)
m
-(int) consoleOut : (NSString*)
text
pas
function consoleOut(
text
: string): LongInt
vb
function consoleOut( ) As Integer
cs
int consoleOut( string
text
)
java
int consoleOut( String
text
)
uwp
Task<int> consoleOut( string
text
)
py
def consoleOut(
text
)
php
function consoleOut(
$text
)
es
function consoleOut(
text
)
cmd
YDisplay
target
[-layer
layerId
] consoleOut
text
The console pointer position is automatically moved to the beginning of the next line when a newline
character is met, or when the right margin is hit. When the new text to display extends below the lower
margin, the console area is automatically scrolled up.
Parameters :
text
the message to display
Returns :
YAPI_SUCCESS
if the call succeeds.
On failure, throws an exception or returns a negative error code.
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...