Search
Preparing search index...
The search index is not available
obniz
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Parts
I2cImu6Abstract
Class I2cImu6Abstract
Hierarchy
I2cPartsAbstract
I2cImu6Abstract
MPU6050
SH200Q
Implements
ObnizPartsInterface
Index
Constructors
constructor
Properties
address
i2cinfo
keys
params
required
Keys
Methods
calc
Temp
char2short
clear
Flag
Wait
get
Accel
Adc
Array
Wait
get
Accel
Adc
Wait
get
Accel
Array
Wait
get
Accel
Range
get
Accel
Unit
get
Accel
Wait
get
Accelerometer
Wait
get
All
Adc
Array
Wait
get
All
Adc
Wait
get
All
Array
Wait
get
All
Data
Wait
get
All
Wait
get
Gyro
Adc
Array
Wait
get
Gyro
Adc
Wait
get
Gyro
Array
Wait
get
Gyro
Range
get
Gyro
Unit
get
Gyro
Wait
get
Gyroscope
Wait
get
Temp
Adc
Wait
get
Temp
Wait
get
Wait
i2c
Info
read
Wait
set
Accel
Range
set
Accel
Unit
set
Gyro
Range
set
Gyro
Unit
whoami
Wait
wired
write
write
Flag
Wait
char
Array
ToInt16
char
Array
ToXyz
Constructors
constructor
new
I2c
Imu6
Abstract
(
)
:
I2cImu6Abstract
Returns
I2cImu6Abstract
Properties
address
address
:
any
Abstract
i2cinfo
i2cinfo
:
I2cInfo
keys
keys
:
string
[]
params
params
:
any
required
Keys
required
Keys
:
string
[]
Methods
Abstract
calc
Temp
calc
Temp
(
data
?:
number
|
null
)
:
number
|
null
Parameters
Optional
data:
number
|
null
Returns
number
|
null
char2short
char2short
(
val1
:
number
, val2
:
number
)
:
any
Parameters
val1:
number
val2:
number
Returns
any
clear
Flag
Wait
clear
Flag
Wait
(
address
:
number
, index
:
number
)
:
Promise
<
void
>
Parameters
address:
number
index:
number
Returns
Promise
<
void
>
get
Accel
Adc
Array
Wait
get
Accel
Adc
Array
Wait
(
)
:
Promise
<
number
[]
>
Returns
Promise
<
number
[]
>
Abstract
get
Accel
Adc
Wait
get
Accel
Adc
Wait
(
)
:
Promise
<
Xyz
>
Returns
Promise
<
Xyz
>
get
Accel
Array
Wait
get
Accel
Array
Wait
(
)
:
Promise
<
number
[]
>
Returns
Promise
<
number
[]
>
get
Accel
Range
get
Accel
Range
(
)
:
accelRange
Returns
accelRange
get
Accel
Unit
get
Accel
Unit
(
)
:
accelUnit
Returns
accelUnit
get
Accel
Wait
get
Accel
Wait
(
)
:
Promise
<
Xyz
>
Returns
Promise
<
Xyz
>
get
Accelerometer
Wait
get
Accelerometer
Wait
(
)
:
Promise
<
Xyz
>
Returns
Promise
<
Xyz
>
get
All
Adc
Array
Wait
get
All
Adc
Array
Wait
(
)
:
Promise
<
any
[]
>
Returns
Promise
<
any
[]
>
Abstract
get
All
Adc
Wait
get
All
Adc
Wait
(
)
:
Promise
<
Inertia6
>
Returns
Promise
<
Inertia6
>
get
All
Array
Wait
get
All
Array
Wait
(
)
:
Promise
<
any
[]
>
Returns
Promise
<
any
[]
>
get
All
Data
Wait
get
All
Data
Wait
(
)
:
Promise
<
Inertia6
>
Returns
Promise
<
Inertia6
>
get
All
Wait
get
All
Wait
(
)
:
Promise
<
Inertia6
>
Returns
Promise
<
Inertia6
>
get
Gyro
Adc
Array
Wait
get
Gyro
Adc
Array
Wait
(
)
:
Promise
<
number
[]
>
Returns
Promise
<
number
[]
>
Abstract
get
Gyro
Adc
Wait
get
Gyro
Adc
Wait
(
)
:
Promise
<
Xyz
>
Returns
Promise
<
Xyz
>
get
Gyro
Array
Wait
get
Gyro
Array
Wait
(
)
:
Promise
<
number
[]
>
Returns
Promise
<
number
[]
>
get
Gyro
Range
get
Gyro
Range
(
)
:
gyroRange
Returns
gyroRange
get
Gyro
Unit
get
Gyro
Unit
(
)
:
gyroUnit
Returns
gyroUnit
get
Gyro
Wait
get
Gyro
Wait
(
)
:
Promise
<
Xyz
>
Returns
Promise
<
Xyz
>
get
Gyroscope
Wait
get
Gyroscope
Wait
(
)
:
Promise
<
Xyz
>
Returns
Promise
<
Xyz
>
Abstract
get
Temp
Adc
Wait
get
Temp
Adc
Wait
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
get
Temp
Wait
get
Temp
Wait
(
)
:
Promise
<
number
|
null
>
Returns
Promise
<
number
|
null
>
get
Wait
get
Wait
(
)
:
Promise
<
Inertia6
>
Returns
Promise
<
Inertia6
>
i2c
Info
i2c
Info
(
)
:
I2cInfo
Returns
I2cInfo
read
Wait
read
Wait
(
command
:
number
, length
:
number
)
:
Promise
<
number
[]
>
Parameters
command:
number
length:
number
Returns
Promise
<
number
[]
>
Abstract
set
Accel
Range
set
Accel
Range
(
accel_range
:
accelRange
)
:
void
Parameters
accel_range:
accelRange
Returns
void
set
Accel
Unit
set
Accel
Unit
(
accel_unit
:
accelUnit
)
:
void
Parameters
accel_unit:
accelUnit
Returns
void
Abstract
set
Gyro
Range
set
Gyro
Range
(
gyro_range
:
gyroRange
)
:
void
Parameters
gyro_range:
gyroRange
Returns
void
set
Gyro
Unit
set
Gyro
Unit
(
gyro_unit
:
gyroUnit
)
:
void
Parameters
gyro_unit:
gyroUnit
Returns
void
Abstract
whoami
Wait
whoami
Wait
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
wired
wired
(
obniz
:
Obniz
)
:
void
Parameters
obniz:
Obniz
Returns
void
write
write
(
command
:
any
, buf
:
any
)
:
void
Parameters
command:
any
buf:
any
Returns
void
write
Flag
Wait
write
Flag
Wait
(
address
:
number
, index
:
number
)
:
Promise
<
void
>
Parameters
address:
number
index:
number
Returns
Promise
<
void
>
Static
char
Array
ToInt16
char
Array
ToInt16
(
values
:
[
number
,
number
]
, endian
?:
string
)
:
number
Parameters
values:
[
number
,
number
]
Default value
endian:
string
= "b"
Returns
number
Static
char
Array
ToXyz
char
Array
ToXyz
(
data
:
number
[]
, endian
?:
string
, scaleFunc
?:
(Anonymous function)
)
:
Xyz
Parameters
data:
number
[]
Default value
endian:
string
= "b"
Default value
scaleFunc:
(Anonymous function)
= (d: number): number => d
Returns
Xyz
Globals
Obniz
App
Obniz
Core
Parts
parts/
Ble/utils/abstracts
parts/
Ble/utils/abstracts/MESHjs/block
parts/
Ble/utils/abstracts/MESHjs/util
parts/
Ethernet/
W5500
I2c
Imu6
Abstract
constructor
address
i2cinfo
keys
params
required
Keys
calc
Temp
char2short
clear
Flag
Wait
get
Accel
Adc
Array
Wait
get
Accel
Adc
Wait
get
Accel
Array
Wait
get
Accel
Range
get
Accel
Unit
get
Accel
Wait
get
Accelerometer
Wait
get
All
Adc
Array
Wait
get
All
Adc
Wait
get
All
Array
Wait
get
All
Data
Wait
get
All
Wait
get
Gyro
Adc
Array
Wait
get
Gyro
Adc
Wait
get
Gyro
Array
Wait
get
Gyro
Range
get
Gyro
Unit
get
Gyro
Wait
get
Gyroscope
Wait
get
Temp
Adc
Wait
get
Temp
Wait
get
Wait
i2c
Info
read
Wait
set
Accel
Range
set
Accel
Unit
set
Gyro
Range
set
Gyro
Unit
whoami
Wait
wired
write
write
Flag
Wait
char
Array
ToInt16
char
Array
ToXyz
Generated using
TypeDoc