calibrationMax
Maximal observed raw measure during calibration. You can also change this value by software if you
want to force a theoretical calibration.
calibrationMin
Minimal observed raw measure during calibration. You can also change this value by software if you
want to force a theoretical calibration.
sensitivity
Sensitivity of the analog input to trigger user callbacks. The sensitivity corresponds to the difference
of value required to propagate a new advertised value and trigger the corresponding user callbacks.
If the value is too small, it could cause spurious callbacks if the measured input is not stable enough.
isPressed
Logical state of the input, considered as a binary input (on/off button). The logical state is pressed
when the contact is closed, and non-pressed when the contact is open. The module implements a
slight averaging and a schmitt trigger to get a more reliable binary reading.
lastTimePressed
Absolute time of the last "button pressed" event on the input (the input contact transitioned from open
to closed). The time reference is the same as the
upTime
attribute, i.e. the elapsed time since the
module was turned on.
lastTimeReleased
Absolute time of the last "button released" event on the input (the input contact transitioned from
closed to open). The time reference is the same as the
upTime
attribute, i.e. the elapsed time since
the module was turned on. If you substract from this value the
lastTimePressed
value, you can
get the duration of the last button pression.
pulseCounter
Pulse counter (32 bits), incremented each time the button state changes (PRESSED / RELEASED),
Each pulse therefore increment the counter by 2. This counter is set to zero when resetCounter() is
called and each time the device restarts
pulseTimer
Elapsed time since last pulse counter reset.
7.6. Files function interface
The filesystem interface makes it possible to store files on some devices, for instance to design a
custom web UI (for networked devices) or to add fonts (on display devices).
logicalName
Character string containing the logical name of the filesystem, initially empty. This attribute can be
modified at will by the user. Once initialized to an non-empty value, it can be used to access the
filesystem directly. If two filesystems with the same logical name are used in the same project, there
is no way to determine which one answers when one tries accessing by logical name. The logical
name is limited to 19 characters among
A
..
Z
,
a
..
z
,
0
..
9
,
_
, and
-
.
advertisedValue
Short character string summarizing the current state of the filesystem, that is automatically advertised
up to the parent hub. For a filesystem, the advertised value is the number of files loaded in the
filesystem.
7. Programming, general concepts
www.yoctopuce.com
27
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...