Retourne L'identifiant Matériel De L'accéléromètre, Sans Référence Au Module - Yoctopuce Yocto-3D-V2 Mode D'emploi

Module électronique de 51x20mm qui dispose d'un accéléromètre, d'un gyroscope et d'un magnétomètre
Table des Matières

Publicité

accelerometer→get_functionId()
accelerometer→functionId()
Retourne l'identifiant matériel de l'accéléromètre, sans référence au module.
function get_functionId( )
js
string get_functionId( )
cpp
-(NSString*) functionId
m
function get_functionId( ) As String
vb
string get_functionId( )
cs
String get_functionId( )
java
get_functionId( )
py
function get_functionId( )
php
async get_functionId( ): Promise<string>
ts
async get_functionId( )
es
string get_functionId( )
dnp
string get_functionId( )
cp
Par example
relay1
.
Retourne :
une chaîne de caractères identifiant l'accéléromètre (ex:
E n
c a s
d ' e r r e u r ,
YAccelerometer.FUNCTIONID_INVALID
www.yoctopuce.com
relay1
d é c l e n c h e
u n e
.
24. Référence de l'API de haut niveau
YAccelerometer
)
e x c e p t i o n
o u
r e t o u r n e
339

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-3d

Table des Matières