attribute
type
modifiable ?
logicalName
String
modifiable
advertisedValue
String
modifiable
calibratedValue
Integer
read-only
rawValue
Integer
read-only
analogCalibration
On/Off
modifiable
calibrationMax
Integer
modifiable
calibrationMin
Integer
modifiable
sensitivity
Integer
modifiable
isPressed
Boolean
read-only
lastTimePressed
Time
read-only
lastTimeReleased
Time
read-only
pulseCounter
Integer
modifiable
pulseTimer
Time
read-only
7.3. Module control interface
This interface is identical for all Yoctopuce USB modules. It can be used to control the module global
parameters, and to enumerate the functions provided by each module.
productName
Character string containing the commercial name of the module, as set by the factory.
serialNumber
Character string containing the serial number, unique and programmed at the factory. For a Yocto-
Display module, this serial number always starts with YD128X32. You can use the serial number to
access a given module by software.
logicalName
Character string containing the logical name of the module, 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 a given
module. If two modules with the same logical name are 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
-
.
productId
USB device identifier of the module, preprogrammed to 45 at the factory.
productRelease
Release number of the module hardware, preprogrammed at the factory.
firmwareRelease
Release version of the embedded firmware, changes each time the embedded software is updated.
persistentSettings
State of persistent module settings: loaded from flash memory, modified by the user or saved to flash
memory.
luminosity
Lighting strength of the informative leds (e.g. the Yocto-Led) contained in the module. It is an integer
value which varies between 0 (leds turned off) and 100 (maximum led intensity). The default value is
50. To change the strength of the module leds, or to turn them off completely, you only need to
change this value.
7. Programming, general concepts
24
www.yoctopuce.com
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...