22. High-level API Reference
www.yoctopuce.com
229
YModule
module
→
set_userVar()
module
→
setUserVar()
Stores a 32 bit value in the device RAM.
js
function set_userVar(
newval
)
cpp
int set_userVar( int
newval
)
m
-(int) setUserVar : (int)
newval
pas
function set_userVar(
newval
: LongInt): integer
vb
function set_userVar( ByVal
newval
As Integer) As Integer
cs
int set_userVar( int
newval
)
java
int set_userVar( int
newval
)
uwp
Task<int> set_userVar( int
newval
)
py
def set_userVar(
newval
)
php
function set_userVar(
$newval
)
es
function set_userVar(
newval
)
cmd
YModule
target
set_userVar
newval
This attribute is at programmer disposal, should he need to store a state variable. On startup and after
a device reboot, the value is always reset to zero.
Parameters :
newval
an integer
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...