22. High-level API Reference
346
www.yoctopuce.com
YAnButton
anbutton
→
get_lastTimeReleased()
anbutton
→
lastTimeReleased()
Returns the number of elapsed milliseconds between the module power on and the last time the
input button was released (the input contact transitioned from closed to open).
js
function get_lastTimeReleased( )
cpp
s64 get_lastTimeReleased( )
m
-(s64) lastTimeReleased
pas
function get_lastTimeReleased( ): int64
vb
function get_lastTimeReleased( ) As Long
cs
long get_lastTimeReleased( )
java
long get_lastTimeReleased( )
uwp
Task<long> get_lastTimeReleased( )
py
def get_lastTimeReleased( )
php
function get_lastTimeReleased( )
es
function get_lastTimeReleased( )
cmd
YAnButton
target
get_lastTimeReleased
Returns :
an integer corresponding to the number of elapsed milliseconds between the module power on and the last
time the input button was released (the input contact transitioned from closed to open)
On failure, throws an exception or returns
Y_LASTTIMERELEASED_INVALID
.
Содержание Yocto-Display
Страница 1: ...Yocto Display User Manual...
Страница 2: ......
Страница 40: ...34 www yoctopuce com...
Страница 52: ...46 www yoctopuce com...
Страница 84: ...78 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...22 High level API Reference 152 www yoctopuce com On failure throws an exception or returns a negative error code...
Страница 422: ...416 www yoctopuce com...
Страница 424: ...24 Characteristics 418 www yoctopuce com...