
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.
Содержание 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...