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
Ridgeandgable
Posts: 131
Hi guys

Just thought I'd post on how I got the LCD working as I've seen a few people looking for it.


IC2 20x4 Screen https://www.ebay.co.uk/p/Iic-i2c-twi-Serial-LCD-2004-20x4-Display-Shield-Blue-Backlight-for-Arduino-YK/2292368412?iid=263560227889

Connections: GND to a Ground Pin, VCC to 5v Power, SDA to pin 20 and SCL to pin 21


Add your device through settings leaving the address as it is

Create your output as the base (Display, LCD, etc)

Create 2 outputs (No device), use offset 6C40 and offset 6C4D, make sure value type is STRING, check the Substring and use 0 to 12


Edit your "base" settings, and choose Display,
Select USE on first line and choose your first output you just made with offset 6C40, click on the blue picture top line and use ????????? (fill the whole line), do the same for the next output you made 6C4D and use &&&&&&&& as above,


Save everything and, have a look. Now its just to format the screen to get them in the correct position. Simply edit the base file and add a few spaces in
2019-01-03 14:22
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Thank you for the guide !

AT FIRST: This is just for PMDG 737 NGX and will not work for Standard Aircrafts or other manifacturs !!!


Please note.... A Guide should explane the thematic.... Not show only your situation.

For example you say the user should let settings fir IC2 Adress as default. Thats Right in your situation. But if user have a other Display or maby the same but a other charge with a different IC2 Chip.... Then the adress can be already different and your "guide" is wrong.

Same with the Settings in the Blue Display field.
Here your right.... You "can" fill the whole line with "???????" but thats a wrong technic. If you read a String with 13 Bytes ( Substring settings) then it will include 12 Diggits of information ( The last byte is the terminator) .... So its high recommend to use also 12 Placeholders (? for example) but not more.
In This "easy" system mobiflight will simply ignore the unneeded placeholders at the end.... But in a complex Config this will occure in Problems.

I hope you not dislike my comment. :love: ... But please if you recommend things to other users then try to explane it correct and reproduceable.
Good Luck !
2019-01-03 16:07
icon