24. Référence de l'API de haut niveau
YRangeFinder.FirstRangeFinderInContext()
YRangeFinder.FirstRangeFinderInContext()
Commence l'énumération des capteurs de distance accessibles par la librairie.
static YRangeFinder FirstRangeFinderInContext( YAPIContext yctx)
java
static YRangeFinder FirstRangeFinderInContext( YAPIContext yctx)
uwp
static FirstRangeFinderInContext( yctx: YAPIContext): YRangeFinder | null
ts
static FirstRangeFinderInContext( yctx)
es
Utiliser la fonction
YRangeFinder.nextRangeFinder()
distance.
Paramètres :
yctx
un contexte YAPI.
Retourne :
un pointeur sur un objet
null
ligne, ou
si il n'y a pas de capteurs de distance disponibles.
310
YRangeFinder
, correspondant au premier capteur de distance accessible en
YRangeFinder
pour itérer sur les autres capteurs de
www.yoctopuce.com