MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
dirk
Posts: 6
Hallo zusammen,

erst einmal ein großes Lob für die Software. Ist wirklich einfach zu installieren und lief in meiner Testumgebung 10 min nachdem ich den Arduino ausgepackt hatte, ohne das ich jemals mit damit was zu tun hatte.

Eine Frage habe ich allerdings gerade noch. Ist es möglich einen Encoder Input mit einem Value (Regex oder so) auszustatten, dass er bei 360 wieder auf 0 springt, sodass ich diesen unendlich drehen kann. Derzeit ist bei 360 Grad am NAV OBS Knopf Feierabend, was ja auch verständlich ist, wenn ich $+1 zähle.

Vielen Dank,
Dirk
2015-11-11 07:10
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
Hi Dirk,

ja das geht mit Expressions.
iconCode:
if($<360,$+1,1)

bzw für die Gegenrichtung
iconCode:
if($>1,$-1,360)


Eventuell ist es aber sogar
iconCode:
if($<359,$+1,0)

iconCode:
if($>0,$-1,359)


weil die "0" als 360 ausgegeben wird und nicht andersrum. Ich kann es leider gerade nicht testen...
[Last edited by DocMoebiuz, 2015-11-13 17:41]
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2015-11-13 17:33
Avatar
dirk
Posts: 6
Hallo Sebastian,

super, damit komme ich klar. Vielen Dank!

Dirk
2015-11-16 07:44
icon