
21. High-level API Reference
YLightSensor
lightsensor
→
get_measureType()
lightsensor
→
measureType()
Returns the type of light measure.
js
function get_measureType( )
cpp
Y_MEASURETYPE_enum get_measureType( )
m
-(Y_MEASURETYPE_enum) measureType
pas
function get_measureType( ): Integer
vb
function get_measureType( ) As Integer
cs
int get_measureType( )
java
int get_measureType( )
uwp
async Task<int> get_measureType( )
py
def get_measureType( )
php
function get_measureType( )
es
function get_measureType( )
cmd
YLightSensor
target
get_measureType
Returns :
a value among
Y_MEASURETYPE_HUMAN_EYE
,
Y_MEASURETYPE_WIDE_SPECTRUM
,
Y _ M E A S U R E T Y P E _ I N F R A R E D
,
Y _ M E A S U R E T Y P E _ H I G H _ R A T E
a n d
Y _ M E A S U R E T Y P E _ H I G H _ E N E R G Y
c o r r e s p o n d i n g t o t h e t y p e o f l i g h t m e a s u r e
On failure, throws an exception or returns
Y_MEASURETYPE_INVALID
.
382
www.yoctopuce.com
Summary of Contents for Yocto-RangeFinder
Page 1: ...Yocto RangeFinder User s guide...
Page 2: ......
Page 18: ...12 www yoctopuce com...
Page 26: ...20 www yoctopuce com...
Page 42: ...36 www yoctopuce com...
Page 70: ...gcc lyocto lm lpthread lusb 1 0 lstdc 10 Using Yocto RangeFinder with C 64 www yoctopuce com...
Page 90: ...84 www yoctopuce com...
Page 120: ...114 www yoctopuce com...
Page 130: ...124 www yoctopuce com...
Page 484: ...478 www yoctopuce com...
Page 488: ...482 www yoctopuce com...
Page 490: ...23 Characteristics 484 www yoctopuce com...
Page 491: ......
Page 492: ......