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
TBryson2
Posts: 20
I have just reached a limit of 5 encoders using a Pro Micro. It states I do not have enough pins. That may be true IF I was using a switch on each encoder, but I'm not.

Is this a restriction of the Pro Micro or MobiFlight? If it's a limit that MobiFlight is imposing can that number be increased?

I'm working on a project that is using 7 encoders and 4 switches. I can effectively use all of the digital inputs on the Pro Micro, but now I'm limited out. This one small board would do everything I need.

Thanks,

TB2
[Last edited by TBryson2, 2022-05-04 17:26]
2022-05-04 17:16
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
I agree.

iconCode:
 "ModuleLimits": {
    "MaxAnalogInputs": 5,
    "MaxButtons": 18,
    "MaxEncoders": 5,
    "MaxInputShifters": 2,
    "MaxLcdI2C": 2,
    "MaxLedSegments": 1,
    "MaxOutputs": 18,
    "MaxServos": 3,
    "MaxShifters": 2,
    "MaxSteppers": 3


5 Encoders but 18 Buttons..... So 9 Encoders "should" be possible at all.
Will report this on Github.

****
Last Note:
I know you and some other guys love there Micros.
But that situation here is again a Argument (for my opinion) for the Mega.
If you would use from start a Mega you would not need to think about this, we would not need to change the Code and, You would not need to write this Posting here.

I know its just my way of thinking.... But i will never understand why a user buy a Micro if he can also use a Mega!
No mater if you just need 1 switch.... Nobody cares if there are 17 Pins or 68 Pins empty at the end.


https://github.com/MobiFlight/MobiFlight-Connector/issues/784
[Last edited by pizman82, 2022-05-04 19:53]
Good Luck !
2022-05-04 19:48
Avatar
TBryson2
Posts: 20
Thanks for the reply! I'm using the Pro Micro only due to the size of it and I bought 3. LOL!!! :D :D Sorry, didn't mean to make more work for "you".

I understand about using the Mega Pro, it's not all that big either. Just got one yesterday so I'll play with it. But we guys do like our options.

Thanks again!!!

TB2
2022-05-04 20:01
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Not take care about the work !
Its a "bug" or better a missing feature.
So its our job to solve this !

Please check this topic the next time....
I think we can give you a provisional solution already.... will check this, and tell you HERE the workarround.

Finally we will fix it official in 9.4 hopefully.
Good Luck !
2022-05-04 21:17
Avatar
TBryson2
Posts: 20
I would love a solution if possible!

Just curious, and I am in NO way rushing "you", but if there is a solution how soon do you think it can be posted?

Thanks!

TB2
[Last edited by TBryson2, 2022-05-05 19:17]
2022-05-05 03:13
Avatar
TBryson2
Posts: 20
Well, just to let you know, I must have been eat up with the dumb ass or something. I will wind up using the Mega card after all. Somehow my encoder count got way out of whack and I actually need more than the Pro Micro can handle.

So, I'm in no rush for this "fix". But it would be nice to have in the future.

Thanks again!

TB2
2022-05-06 04:59
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Yeah

Sorry about that. Its NOT possible to change this for the user himself without change the Code of MF
( I hoped we meanwhile have a easy editor function so users can change those settings themself.... But this is not implement till now)

Means you need to wait some days/weeks until the next Hotfix or Beta Release comes Up. There ( or in the next one) we will change this limit for you.

Until then you have 3 alternates ....
A ) Accept it and wait
B ) Use a second board provisional/temporary and rework it to one board again if limit grows up.
C ) Order a Mega instead of Micro. There you have already 30+ Encoders.
Good Luck !
2022-05-06 14:36
icon