22. High-level API Reference
156
www.yoctopuce.com
YAPI
YAPI.SelectArchitecture()
ySelectArchitecture()
Select the architecture or the library to be loaded to access to USB.
py
def SelectArchitecture(
arch
)
By default, the Python library automatically detects the appropriate library to use. However, for Linux
ARM, it not possible to reliably distinguish between a Hard Float (armhf) and a Soft Float (armel) install.
For in this case, it is therefore recommended to manually select the proper architecture by calling
SelectArchitecture()
before any other call to the library.
Parameters :
arch
A string containing the architecture to use. Possibles value are:
"armhf"
,
"armel"
,
"i386"
,
"x86_64"
,
"32bit"
,
"64bit"
Returns :
nothing.
On failure, throws an exception.
Содержание 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...