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
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...