Search
Preparing search index...
The search index is not available
obniz
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Parts
Grove_MicroSwitch
Grove_MicroSwitch
Class Grove_MicroSwitch
Hierarchy
Grove_MicroSwitch
Implements
ObnizPartsInterface
Index
Constructors
constructor
Properties
is
Pressed
keys
onchange
params
required
Keys
Methods
is
Pressed
Wait
on
Change
For
State
Wait
state
Wait
wired
info
Constructors
constructor
new
Grove_
Micro
Switch
(
)
:
Grove_MicroSwitch
Returns
Grove_MicroSwitch
Properties
is
Pressed
is
Pressed
:
boolean
|
null
= null
keys
keys
:
string
[]
onchange
onchange
:
(
(
pressed
:
boolean
)
=>
void
)
|
null
= null
params
params
:
any
required
Keys
required
Keys
:
string
[]
Methods
is
Pressed
Wait
is
Pressed
Wait
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
on
Change
For
State
Wait
on
Change
For
State
Wait
(
pressed
:
boolean
)
:
void
Parameters
pressed:
boolean
Returns
void
state
Wait
state
Wait
(
isPressed
:
boolean
)
:
Promise
<
void
>
Parameters
isPressed:
boolean
Returns
Promise
<
void
>
wired
wired
(
obniz
:
Obniz
)
:
void
Parameters
obniz:
Obniz
Returns
void
Static
info
info
(
)
:
ObnizPartsInfo
Returns
ObnizPartsInfo
Globals
Grove_
Micro
Switch
constructor
is
Pressed
keys
onchange
params
required
Keys
is
Pressed
Wait
on
Change
For
State
Wait
state
Wait
wired
info
Grove_
Micro
Switch
OptionsA
Grove_
Micro
Switch
OptionsB
Grove_
Micro
Switch
Options
Generated using
TypeDoc