Search
Preparing search index...
The search index is not available
M5Stack.js
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"node_modules/obniz/parts/DistanceSensor/HC-SR04/index.d"
HCSR04
Interface HCSR04
Hierarchy
HCSR04
Index
Properties
reset_
alltime
temp
Methods
measure
measure
Wait
unit
Properties
reset_
alltime
reset_
alltime
:
boolean
temp
temp
:
number
Methods
measure
measure
(
callback
:
function
)
:
void
Parameters
callback:
function
(
distance
:
number
)
:
void
Parameters
distance:
number
Returns
void
Returns
void
measure
Wait
measure
Wait
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
unit
unit
(
unit
:
HCSR04UnitType
)
:
void
Parameters
unit:
HCSR04UnitType
Returns
void
Globals
"node_
modules/obniz/parts/
Distance
Sensor/HC-
SR04/index.d"
HCSR04
reset_
alltime
temp
measure
measure
Wait
unit
HCSR04
Options
HCSR04
Unit
Type
Generated using
TypeDoc