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
TWIVEZY
Posts: 16
Supporter
I know this has been asked a few times before, but just to be sure that I have the latest info:

The usable pins are
Digital: D2-D53 and
Analoge: A0-A14 (maybe A15 as well, I have read something about possible problems with A15)

The maximum number of outputs (LEDs) is 40.
Is there a maximum number of inputs (buttons/switches)?

What about using a combination of inputs and outputs on one card?
Is there a maximum combination?
Is there a preference to connect LEDs to digital pins?

Are potentiometers (in Beta) only to be connected to the Analog pins? So maximum 15 (or 16) potmeters?

Using only buttons and LEDs...would it be necessary to use a power supply for the Mega, or is that only necessary when using stepper motors etc?

Thanks!

Vincent
2021-07-27 18:04
Avatar
StephanHo
Moderator
From: EDDG, Germany
Posts: 1867
Supporter
Grüße,
Stephan (Time: UTC+2)
2021-07-27 19:13
Avatar
TWIVEZY
Posts: 16
Supporter
Thanks!

#if MODULETYPE == MTYPE_MEGA
#define MAX_OUTPUTS 40
#define MAX_BUTTONS 68
#define MAX_LEDSEGMENTS 4
#define MAX_ENCODERS 20
#define MAX_STEPPERS 10
#define MAX_MFSERVOS 10
#define MAX_MFLCD_I2C 2
#define MAX_ANALOG_INPUTS 5
#define MAX_SHIFTERS 10
2021-07-27 19:48
icon