
21. High-level API Reference
YLightSensor
lightsensor
→
get_resolution()
lightsensor
→
resolution()
Returns the resolution of the measured values.
js
function get_resolution( )
cpp
double get_resolution( )
m
-(double) resolution
pas
function get_resolution( ): double
vb
function get_resolution( ) As Double
cs
double get_resolution( )
java
double get_resolution( )
uwp
async Task<double> get_resolution( )
py
def get_resolution( )
php
function get_resolution( )
es
function get_resolution( )
cmd
YLightSensor
target
get_resolution
The resolution corresponds to the numerical precision of the measures, which is not always the same
as the actual precision of the sensor.
Returns :
a floating point number corresponding to the resolution of the measured values
On failure, throws an exception or returns
Y_RESOLUTION_INVALID
.
www.yoctopuce.com
387
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: ......