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
michael1508
Posts: 69
Hi Experten,

habe ein Panel mit etwas 20 Tastern gebaut. Leider habe ich die einzelnen Kabel nicht in der ursprünglich notierten Reihenfolge gelötet und weiß jetzt nicht, welcher Knopf an welchem Pin hängt. Kein Problem, dachte ich -einfach testen und neu aufschreiben, welche Funktion ausgelöst wird. Sollte in meinem Fall einfach sein, da ich mit dem Panel lediglich verschiedene Display-Anzeigen schalte (A320 ECAM Panel).

Mein Problem ist, das die einzelnen Knöpfe ein wenig verrückt spielen. Mal tun sie, was sie sollen, mal eine andere Funktion, mal gar nichts. Ich möchte mich nun stück für Stük durchtesten. Kann ich dafür irgendwie am Arduino mitloggen, welcher Pin gerade angepingt wurde?

Danke,
Micha
2016-10-13 22:23
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
Wenn ein Pin als Schalter definiert wurde und Debug Mode an ist, dann siehst du eine Meldung im Log.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2016-11-08 04:10
Avatar
michael1508
Posts: 69
Hi Sebastian,

wie funktioniert das genau mit dem Debug Modus?

Habe mittlerweile 4 Mobiflights aktiv. Habe in den Einstellungen Logging aktiviert und auf Debug.
Zum Start zeigt er mir an, dass er ein Arcaze Modul gefunden hat, und ein paar weitere grundsätzliche Infos.

Aber wenn ich einen Schalter drücke, sehe ich nichts. Auch nicht bei funktionierenden Schaltern.
Ist es egal, welche Zeile bei den Inputs gerade aktiv ist?

Danke,
Micha
2016-11-12 23:50
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
Zuerst konfigurierst Du die Pins als Schalter... also für jeden Pin an dem Du weißt das ein Schalter hängt.

Nimm eine leere Config ohne Zuweisungen für die Schalter.

Wenn Du jetzt Debug anhast und nun einen Schalter betätigst, dann kriegst Du einen Hinweis im Log-Fenster für onPress und onRelease. Es funktioniert unabhängig davon ob die Config-Zeile aktiv ist oder nicht.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2016-11-13 18:26
Avatar
michael1508
Posts: 69
Danke, es funktioniert jetzt...und hat auch geholfen :-)
2016-11-13 21:37
icon