Search
Preparing search index...
The search index is not available
obniz
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Parts
FlickHat
FlickHat
Class FlickHat
Hierarchy
FlickHat
Implements
ObnizPartsInterface
Index
Constructors
constructor
Properties
address
debugprint
display
IoNames
fw
Info
i2c
io_
reset
io_
ts
keys
last
Gesture
last
Rotation
last
Touch
led1
led2
onairwheel
ondoubletap
onfwinfo
ongesture
ongestureall
ontap
ontouch
onxyz
params
read
Size
required
Keys
rotation
status
Info
xyz
Methods
_data
Array2string
polling
polling
Wait
start
start
Wait
wired
info
Constructors
constructor
new
Flick
Hat
(
)
:
FlickHat
Returns
FlickHat
Properties
address
address
:
any
debugprint
debugprint
:
any
display
IoNames
display
IoNames
:
any
fw
Info
fw
Info
:
any
i2c
i2c
:
PeripheralI2C
io_
reset
io_
reset
:
any
io_
ts
io_
ts
:
any
keys
keys
:
string
[]
last
Gesture
last
Gesture
:
any
last
Rotation
last
Rotation
:
any
last
Touch
last
Touch
:
any
led1
led1
:
any
led2
led2
:
any
Optional
onairwheel
onairwheel
:
undefined
|
(
(
airwheel
:
FlickHat_AirWheel
)
=>
void
)
ondoubletap
ondoubletap
:
any
Optional
onfwinfo
onfwinfo
:
undefined
|
(
(
fwInfo
:
any
)
=>
void
)
Optional
ongesture
ongesture
:
undefined
|
(
(
gesture
:
FlickHat_Gesture
)
=>
void
)
ongestureall
ongestureall
:
any
Optional
ontap
ontap
:
undefined
|
(
(
tap
:
FlickHat_Tap
)
=>
void
)
Optional
ontouch
ontouch
:
undefined
|
(
(
touch
:
FlickHat_Touch
)
=>
void
)
Optional
onxyz
onxyz
:
undefined
|
(
(
xyz
:
FlickHat_XYZ
)
=>
void
)
params
params
:
any
read
Size
read
Size
:
any
required
Keys
required
Keys
:
string
[]
rotation
rotation
:
any
status
Info
status
Info
:
any
xyz
xyz
:
any
Methods
_data
Array2string
_data
Array2string
(
data
:
any
)
:
any
Parameters
data:
any
Returns
any
polling
polling
(
timeout
?:
any
)
:
Promise
<
void
>
deprecated
Parameters
Optional
timeout:
any
Returns
Promise
<
void
>
polling
Wait
polling
Wait
(
timeout
?:
any
)
:
Promise
<
void
>
Parameters
Optional
timeout:
any
Returns
Promise
<
void
>
start
start
(
callback
?:
undefined
|
(
(
fwInfo
:
any
)
=>
void
)
)
:
Promise
<
void
>
deprecated
Parameters
Optional
callback:
undefined
|
(
(
fwInfo
:
any
)
=>
void
)
Returns
Promise
<
void
>
start
Wait
start
Wait
(
callback
?:
undefined
|
(
(
fwInfo
:
any
)
=>
void
)
)
:
Promise
<
void
>
Parameters
Optional
callback:
undefined
|
(
(
fwInfo
:
any
)
=>
void
)
Returns
Promise
<
void
>
wired
wired
(
obniz
:
Obniz
)
:
void
Parameters
obniz:
Obniz
Returns
void
Static
info
info
(
)
:
ObnizPartsInfo
Returns
ObnizPartsInfo
Globals
Flick
Hat
constructor
address
debugprint
display
IoNames
fw
Info
i2c
io_
reset
io_
ts
keys
last
Gesture
last
Rotation
last
Touch
led1
led2
onairwheel
ondoubletap
onfwinfo
ongesture
ongestureall
ontap
ontouch
onxyz
params
read
Size
required
Keys
rotation
status
Info
xyz
_data
Array2string
polling
polling
Wait
start
start
Wait
wired
info
Flick
Hat
Options
Flick
Hat_
Air
Wheel
Flick
Hat_
Double
Tap
Flick
Hat_
Gesture
Flick
Hat_
Tap
Flick
Hat_
Touch
Flick
Hat_
XYZ
Flick
Hat_
Direction
Flick
Hat_
Direction2
Generated using
TypeDoc