#Code for the Clock

1 messages · Page 1 of 1 (latest)

rustic kettle
#

Does anyone know if there is any code to bring these 3 display to work via mobiflight. Cause i could't find anything

fleet peak
#

where did you search ?

#

the middle display is just the UTC time from the simulator.

fleet peak
#

assuming this is for FBW A320

#

there is a different set for the Fenix

rustic kettle
#

Cause i searched in Mobiflight

#

And found nothing

fervent swan
#

@rustic kettle this is hubhop www page. It is a online database of all presets you should see in the MF app

#

Make. Sure your filters are chosen properly, like on Jaime's acreenahot

fleet peak
#

If you search in Mobiflight drop down menus, you should be able to find the same. Mobiflight presets for msfs2020 are the same as the ones found in Hubhop.

rustic kettle
#

@fleet peak so i found the preset but the sim value is really strange

fleet peak
#

How strange?

rustic kettle
#

do you know the problem?

fleet peak
#

I asked why do you think the value is strange. Your picture shows Mobiflight receives a floating point value. So?

fleet peak
#

If that variable is the ET in seconds you can strip decimals with Transform of Floor($)

rustic kettle
#

but isnit it posible to get a value with minutes and seconds directly to put on a 4 digit display?

fleet peak
#

Floor($/60)*100+$%60

rustic kettle
#

how do i do that?

fleet peak
rustic kettle
#

is that correct?

fleet peak
#

Yes, doesnt it work?

rustic kettle
#

i havent tried it

#

just wanted to ask

fleet peak
#

I think it would be a lot better if you understand what that formula does instead of just copy pasting things given to you by others.

#

the syntax used in Transforms is ncalc.

#

similar to Excel formulas

rustic kettle
#

so that works no fine

#

but is there any way to make 00:05

#

is there any way to tell the program on wich digit seconds are

#

and 10 seconds

#

and minutes

#

and 10 minutes?

fleet peak
#

I don-t know what you mean

#

the results from the formula for 65 seconds should be 105

rustic kettle
#

yeah it is

fleet peak
#

to display the left hand zeroes, you need to turn on left padding with zero

#

those options are in the display tab

#

with left padding on, 5 seconds is displayed as
0005

rustic kettle
#

Thank you so much for you help!!🔥 🥳