i2cport→writeArray()
Envoie une séquence d'octets (fournie sous forme d'une liste) sur le bus I2C.
function writeArray( byteList)
js
int writeArray( vector<int> byteList)
cpp
-(int) writeArray : (NSMutableArray*)
m
LongInt writeArray( byteList: TLongIntArray): LongInt
pas
procedure writeArray( ByVal
vb
int writeArray( List<int> byteList)
cs
int writeArray( ArrayList<Integer> byteList)
java
async Task<int> writeArray( List<int> byteList)
uwp
writeArray( byteList)
py
function writeArray( $byteList)
php
async writeArray( byteList: number[]): Promise<number>
ts
async writeArray( byteList)
es
int writeArray( int[] byteList)
dnp
int writeArray( vector<int> byteList)
cp
YI2cPort
target
cmd
Selon l'état du bus I2C, le premier octet sera interprété comme un octet d'adresse ou un octet de
données.
Paramètres :
byteList
la liste d'octets à envoyer
Retourne :
YAPI.SUCCESS
En cas d'erreur, déclenche une exception ou retourne un code d'erreur négatif.
www.yoctopuce.com
byteList
byteList
As List(Of)
writeArray
byteList
si l'opération se déroule sans erreur.
25. Référence de l'API de haut niveau
YI2cPort
401