// ***************************************************************************** // * Config_SIOC ver 3.5 - By Manolo Vélez - www.opencockpits.com // ***************************************************************************** // * FileName : cronometro 2.txt // * Date : 11/12/2008 Var 0000, Value 0 // Initialization { &Seconds = 0 } Var 0005, name Start_stop, Link IOCARD_SW, Input 34, Type P // Start/Stop chronometer Var 0006, name Reset, Link IOCARD_SW, Input 35 // Reset { IF &Reset = 1 { &Seconds = 0 } } Var 0007, name Seconds, Link IOCARD_DISPLAY, Digit 0, Numbers 2 // Display Seconds Var 0010, Link FSUIPC_IN, Offset $023A, Length 1 // Seconds of FSimulator { IF &Start_stop = 1 { L0 = &Seconds + 1 IF L0 = 60 { L0 = 0 } &Seconds = L0 } }