22. High-level API Reference
196
www.yoctopuce.com
YModule
module
→
get_luminosity()
module
→
luminosity()
Returns the luminosity of the module informative leds (from 0 to 100).
js
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
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
.
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...