![Yoctopuce Yocto-GPS Скачать руководство пользователя страница 228](http://html1.mh-extra.com/html/yoctopuce/yocto-gps/yocto-gps_user-manual_3415557228.webp)
20. High-level API Reference
YModule
module
→
set_luminosity()
module
→
setLuminosity()
Changes the luminosity of the module informative leds.
js
function set_luminosity(
newval
)
nodejs
function set_luminosity(
newval
)
cpp
int set_luminosity( int
newval
)
m
-(int) setLuminosity : (int)
newval
pas
function set_luminosity(
newval
: LongInt): integer
vb
function set_luminosity( ByVal
newval
As Integer) As Integer
cs
int set_luminosity( int
newval
)
java
int set_luminosity( int
newval
)
uwp
async Task<int> set_luminosity( int
newval
)
py
def set_luminosity(
newval
)
php
function set_luminosity(
$newval
)
es
function set_luminosity(
newval
)
cmd
YModule
target
set_luminosity
newval
The parameter is a value between 0 and 100. Remember to call the
saveToFlash()
method of the
module if the modification must be kept.
Parameters :
newval
an integer corresponding to the luminosity of the module informative leds
Returns :
YAPI_SUCCESS
if the call succeeds.
On failure, throws an exception or returns a negative error code.
222
www.yoctopuce.com
Содержание Yocto-GPS
Страница 1: ...Yocto GPS User s guide...
Страница 2: ......
Страница 6: ...22 Characteristics 557 Blueprint 559 Index 561...
Страница 10: ...4 www yoctopuce com...
Страница 14: ...8 www yoctopuce com...
Страница 18: ...12 www yoctopuce com...
Страница 22: ...16 www yoctopuce com...
Страница 38: ...32 www yoctopuce com...
Страница 42: ...36 www yoctopuce com...
Страница 54: ...48 www yoctopuce com...
Страница 72: ...66 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 122: ...116 www yoctopuce com...
Страница 132: ...126 www yoctopuce com...
Страница 159: ...20 High level API Reference On failure throws an exception or returns a negative error code www yoctopuce com 153...
Страница 564: ...22 Characteristics 558 www yoctopuce com...
Страница 565: ......
Страница 566: ......