#Newbie config question

1 messages · Page 1 of 1 (latest)

lusty mango
#

I tried several things, and i think i have no clue on how to program it.
all I want to do is press a button, and show on the display some text.
when i press the same button, the text needs to go away or update.

like

press once: Beacon Light: ON
press again : Beacon Light: OFF

i'm sure i am doing something wrong, since as soon as i start it, it flickers or shows right away text.
and my top 2 rows with info, is gone.

Can someone explain on how to do this?
thank you

past vale
#

If it's flickering, generally you have conflicting outputs, one creating 1 message and something else creating another, same goes for leds flickering. Best to wait for the experts to be online. Are you sure your using a toggle?

rigid onyx
#

Instead of using a mobiflight variable though, I would use whatever the sim variable is for the beacon light so the state is managed by the sim

lusty mango
#

Thanks.. have a lot to lean for the programming part.

#

i was reading that before, but confused with multiple pages.. does it mean multiple lines? it was confusing to me

buoyant moss
#

if you want to show just the beacon state you can also probably read beacon state from sim, use compare modifier to set it to either 'ON' or 'OFF'

#

like to a string of text?

rigid onyx
lusty mango
fallen lava
lusty mango
#

thank you

lusty mango
#

i am really struggling with this.. and tried searching for some tutorials, but getting nowhere.

I have a 4 row display., and on row 1 it shows " AutoPilot"

When i show to show something on row 4 of the same screen like Beacon light: ON or OFF i do what i showed in the images a few comments above, but then the 1st row keeps flashing like crazy. i can't so find anything that it will skip that.

the website is not clear either, unless i am not looking right.

buoyant moss
#

are you trying to write to the same display from many output configs?

#

you have one output config that displays things, and its own simvar is $$$$$$$$ - and any other data you display is brought in with. a config reference from other output configs that do not define their own LCD output

#

you bring the other data in as config reference like ###### (placeholder character of an example reference)

#

and then your LCD config can have plain static text and placeholders:

Beacon light: $$$$$$$$
Strobe light: #######
#

and $$$$ will be replaced with your simvar content, and ### with your config reference simvar content

#

so another example:

COM 1: $$$.$$$
COM 2: ###.###
XPDR:  !!!!
#

only one config has the LCD output defined and all other sim data needs to be brought in via references, because the the whole LCD content is written at once, two outputs will flicker even if they would try to write to different areas of the lcd