Yoctopuce Yocto-MaxiDisplay Mode D'emploi page 374

Module électronique
Table des Matières

Publicité

24. Référence de l'API de haut niveau
display→set_orientation()
display→setOrientation()
Modifie l'orientation de l'écran.
function set_orientation( newval)
js
int set_orientation( Y_ORIENTATION_enum newval)
cpp
-(int) setOrientation : (Y_ORIENTATION_enum)
m
integer set_orientation( newval: Integer): integer
pas
function set_orientation( ByVal
vb
int set_orientation( int newval)
cs
int set_orientation( int newval)
java
async Task<int> set_orientation( int newval)
uwp
set_orientation( newval)
py
function set_orientation( $newval)
php
async set_orientation( newval: YDisplay_Orientation): Promise<number>
ts
async set_orientation( newval)
es
int set_orientation( int newval)
dnp
int set_orientation( int newval)
cp
YDisplay
target
cmd
N'oubliez pas d'appeler la méthode
Paramètres :
newval
une valeur parmi
YDisplay.ORIENTATION_RIGHT
l'orientation de l'écran
Retourne :
YAPI.SUCCESS
si l'opération se déroule sans erreur.
En cas d'erreur, déclenche une exception ou retourne un code d'erreur négatif.
368
newval
As Integer) As Integer
set_orientation
newval
saveToFlash()
YDisplay.ORIENTATION_LEFT
newval
du module si le réglage doit être préservé.
YDisplay.ORIENTATION_UP
,
et
YDisplay.ORIENTATION_DOWN
YDisplay
,
représentant
www.yoctopuce.com

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-displayYocto-color-v2

Table des Matières