20. High-level API Reference
YModule
module
→
get_luminosity()
module
→
luminosity()
Returns the luminosity of the module informative leds (from 0 to 100).
js
function get_luminosity( )
nodejs
function get_luminosity( )
cpp
int get_luminosity( )
m
-(int) luminosity
pas
function get_luminosity( ): LongInt
vb
function get_luminosity( ) As Integer
cs
int get_luminosity( )
java
int get_luminosity( )
uwp
async Task<int> get_luminosity( )
py
def get_luminosity( )
php
function get_luminosity( )
es
function get_luminosity( )
cmd
YModule
target
get_luminosity
Returns :
an integer corresponding to the luminosity of the module informative leds (from 0 to 100)
On failure, throws an exception or returns
Y_LUMINOSITY_INVALID
.
www.yoctopuce.com
193
Summary of Contents for Yocto-GPS
Page 1: ...Yocto GPS User s guide...
Page 2: ......
Page 6: ...22 Characteristics 557 Blueprint 559 Index 561...
Page 10: ...4 www yoctopuce com...
Page 14: ...8 www yoctopuce com...
Page 18: ...12 www yoctopuce com...
Page 22: ...16 www yoctopuce com...
Page 38: ...32 www yoctopuce com...
Page 42: ...36 www yoctopuce com...
Page 54: ...48 www yoctopuce com...
Page 72: ...66 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 122: ...116 www yoctopuce com...
Page 132: ...126 www yoctopuce com...
Page 564: ...22 Characteristics 558 www yoctopuce com...
Page 565: ......
Page 566: ......