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/dist/src/parts/MovementSensor/MPU6886/index.d"
MPU6886
Class MPU6886
Hierarchy
I2cPartsAbstruct
MPU6886
Implements
ObnizPartsInterface
ObnizPartsInterface
Index
Constructors
constructor
Properties
_accel_
range
_gyro_
range
address
char2short
commands
i2c
i2cinfo
keys
obniz
params
required
Keys
write
Methods
get
Accel
Wait
get
All
Data
Wait
get
Gyro
Wait
get
Temp
Wait
i2c
Info
init
read
Wait
set
Config
whoami
Wait
wired
info
Constructors
constructor
new MPU6886
(
)
:
MPU6886
Returns
MPU6886
Properties
Private
_accel_
range
_accel_
range
:
any
Private
_gyro_
range
_gyro_
range
:
any
address
address
:
any
char2short
char2short
:
any
commands
commands
:
any
Protected
i2c
i2c
:
PeripheralI2C
i2cinfo
i2cinfo
:
any
keys
keys
:
string
[]
Protected
obniz
obniz
:
Obniz
params
params
:
any
required
Keys
required
Keys
:
string
[]
write
write
:
any
Methods
get
Accel
Wait
get
Accel
Wait
(
)
:
Promise
<
object
>
Returns
Promise
<
object
>
get
All
Data
Wait
get
All
Data
Wait
(
)
:
Promise
<
object
>
Returns
Promise
<
object
>
get
Gyro
Wait
get
Gyro
Wait
(
)
:
Promise
<
object
>
Returns
Promise
<
object
>
get
Temp
Wait
get
Temp
Wait
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
i2c
Info
i2c
Info
(
)
:
object
Returns
object
address
:
number
clock
:
number
voltage
:
string
init
init
(
)
:
void
Returns
void
read
Wait
read
Wait
(
command
:
number
, length
:
number
)
:
Promise
<
number
[]
>
Parameters
command:
number
length:
number
Returns
Promise
<
number
[]
>
set
Config
set
Config
(
accelerometer_range
:
number
, gyroscope_range
:
number
)
:
void
Parameters
accelerometer_range:
number
gyroscope_range:
number
Returns
void
whoami
Wait
whoami
Wait
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
wired
wired
(
obniz
:
Obniz
)
:
void
Parameters
obniz:
Obniz
Returns
void
Static
info
info
(
)
:
ObnizPartsInfo
Returns
ObnizPartsInfo
Globals
"node_
modules/obniz/dist/src/parts/
Movement
Sensor/MPU6886/index.d"
MPU6886
constructor
_accel_
range
_gyro_
range
address
char2short
commands
i2c
i2cinfo
keys
obniz
params
required
Keys
write
get
Accel
Wait
get
All
Data
Wait
get
Gyro
Wait
get
Temp
Wait
i2c
Info
init
read
Wait
set
Config
whoami
Wait
wired
info
MPU6886
Options
Generated using
TypeDoc