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! 

icon
Avatar
sisoffi
Posts: 44
Hi,
i interfaced outputs in one mega2560 card with relé to command 28v lamps.
I used tha A0....A8 ports with releé 8 channel arduino ...but the problem is
how to assign these ports for outputs? when i choose numbers on a list there is only from 2 to 53 number.

Can you help me?

many thanks
Simone
2019-09-19 21:17
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 3095
Supporter
Hi

Analog Ports are not supported by Mobiflight.
MF Firmware compeltly ignore all Analog Pins Axx.

But thats no Problem.

Relais can controlled via Digital Pins 02-52 , too. A Relais is basicly the same like a LED . ( So create a device "Output LED" on a Pin) .
Create a Config. If its "TRUE" so value is 1 or above then the Pin is powered..... If its FALSE ( Value 0 ) the Pin is out of Power.
A LED would simpy light or not.... Your Relais will be Open or Close same way.
Good Luck !
2019-09-19 21:22
icon