
22. High-level API Reference
www.yoctopuce.com
197
YModule
module
→
get_parentHub()
module
→
parentHub()
Returns the serial number of the YoctoHub on which this module is connected.
js
function get_parentHub( )
cpp
string get_parentHub( )
m
-(NSString*) parentHub
pas
function get_parentHub( ): string
vb
function get_parentHub( ) As String
cs
string get_parentHub( )
java
String get_parentHub( )
uwp
Task<string> get_parentHub( )
py
def get_parentHub( )
php
function get_parentHub( )
es
function get_parentHub( )
cmd
YModule
target
get_parentHub
If the module is connected by USB, or if the module is the root YoctoHub, an empty string is returned.
Returns :
a string with the serial number of the YoctoHub or an empty string
Содержание 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...