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
ismailsurek37
Posts: 8
hello
i want to use multi group for in put or output shift register
for example if was use pin
22 = LATCH
23 = CLOCK
than describe in mobiflight
after another group for shift register i have to use again *LATCH* and * CLOCK* pin
so i need to describe them to another arduino pin
i want to use them again same pin on 22 and 23
But after use them 1 time, i cant select them again .
same problem again input shifter
is possible to fix _?
thanks
http://robots.freehostia.com/Software/ShiftRegister/ShiftRegisterBody.html
2022-03-28 05:46
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

At first.
As i know you can build a chain of those Registers. So the whole chain is handled by the Pins you select there.
If you create another Shift Register ( or chain) these will need (currently) its own individual Pins also for Clock !

We have a discussion in the past to allow sharing e.g. the Clock Pin more global.

E.g. for Max7219 we got the same logic.
You can use 4 Max Devices on a Mega.... Each can also be a chain of up to 8 Chips in a row.
BUT
Each Device got its own CLK Pin.... Technical we could share it but we decide ( for the moment) to NOT do this !

Simple Argument: Number of Megas is not limmited. So there is no need for us to save e.g. 4 Pins in a setup like yours. Simply buy another Mega. Then you have agaoin 69 new Pins you can use!

***********
Feel free to vote for your idea on our Github.
Or come to Discord and talk to the guys who already ask for this ( Neil and Jaime if i remember right).
Sebastian not say yes.... But maybe meanwhile he looking forward to do this !
Good Luck !
2022-03-28 14:33
Avatar
giocc
Posts: 21
Again, I was the one who mainly advocated this. As discussed, there is no real technical or performance reason; the improvement certainly requires a little effort (particularly on the Connector side), but no more than that.

Also, as reminded elsewhere, the decision to either support it or not is basically a matter of personal preference from the MF team, therefore showing interest by upvoting or adding an improvement issue might help to fathom the degree of liking, or need, of a given feature.

Last thing, as I always feel the need to point out, the "add more megas" concept is not always a "best" (or even viable) answer - many people have cockpits which are already assembled, possibly complex, often built with much effort, as well as "box devices" with mechanical constraints. The stake is not always to spare a couple of pins (even though that might prove crucial several times).
2022-05-11 11:05
icon