Search
Preparing search index...
The search index is not available
obniz
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Parts
STM550B
External module STM550B
Index
Classes
STM550B
Interfaces
STM550
B_
Data
STM550
B_
Options
Functions
find
Type
read
Accele
Vector
read
Data
Object literals
data
Size
Table
data
Type
Table
t
Functions
Const
find
Type
find
Type
(
type
:
keyof
STM550B_Data
, multiple
?:
number
, precision
?:
number
)
:
(Anonymous function)
Parameters
type:
keyof
STM550B_Data
Default value
multiple:
number
= 1
Default value
precision:
number
= 0
Returns
(Anonymous function)
Const
read
Accele
Vector
read
Accele
Vector
(
data
:
number
)
:
{
x
:
number
;
y
:
number
;
z
:
number
}
Parameters
data:
number
Returns
{
x
:
number
;
y
:
number
;
z
:
number
}
x
:
number
y
:
number
z
:
number
Const
read
Data
read
Data
(
rawData
:
Buffer
, dataSize
:
number
, encoding
:
NormalValueType
)
:
any
Parameters
rawData:
Buffer
dataSize:
number
encoding:
NormalValueType
Returns
any
Object literals
Const
data
Size
Table
data
Size
Table
:
object
0
0
:
number
= 1
1
1
:
number
= 2
2
2
:
number
= 4
3
3
:
number
= 255
Const
data
Type
Table
data
Type
Table
:
object
0
0
:
object
encoding
encoding
:
"numLE"
= "numLE"
type
type
:
"temperature"
= "temperature"
1
1
:
object
encoding
encoding
:
"numLE"
= "numLE"
type
type
:
"voltage"
= "voltage"
10
10
:
object
encoding
encoding
:
"unsignedNumLE"
= "unsignedNumLE"
type
type
:
"acceleration_vector"
= "acceleration_vector"
2
2
:
object
encoding
encoding
:
"unsignedNumLE"
= "unsignedNumLE"
type
type
:
"energy_level"
= "energy_level"
35
35
:
object
encoding
encoding
:
"bool0001"
= "bool0001"
type
type
:
"magnet_contact"
= "magnet_contact"
4
4
:
object
encoding
encoding
:
"unsignedNumLE"
= "unsignedNumLE"
type
type
:
"illumination_solar_cell"
= "illumination_solar_cell"
5
5
:
object
encoding
encoding
:
"unsignedNumLE"
= "unsignedNumLE"
type
type
:
"illumination_sensor"
= "illumination_sensor"
6
6
:
object
encoding
encoding
:
"unsignedNumLE"
= "unsignedNumLE"
type
type
:
"humidity"
= "humidity"
Const
t
t
:
object
func
func
:
(Anonymous function)
= findType('temperature', 0.01)
index
index
:
number
= 4
length
length
:
number
= 255
type
type
:
"custom"
= "custom"
Globals
STM550B
STM550
B_
Data
STM550
B_
Options
find
Type
read
Accele
Vector
read
Data
data
Size
Table
data
Type
Table
t
Generated using
TypeDoc