CONSUMPTION 1×1 by krimwand (new UI)
This LUA-based microcontroller has a high degree of accuracy and protection against random values, receiving an average of 200 stored values. Max values is 9999k, Using a touchscreen, you can switch the indicators.
shows
- litre per hourminsec
- consumption in percent from the maximum registered
- consumption at 100kmmilesknots
- remaining time to work (min)
- range kmmilesknots
- efficiency rating (convenient for comparing generators)
- amount of fuel L
- capacity of fuel tanks
- fuel level in percent
- filling time in seconds
connecting
- video output to 1×1 monitor
- monitor composite to microcontroller input
- speed sensor m/sec to microcontroller input
- fluid level from fluid meter or from standart tank content
- fluid capacity from fluid meter (if you have standart tanks – specify their number in the microcontroller settings)
- buzzer node to buzzer (optional)
- generator or torque to generator or torque output ))
- before spawning craft, select default values in the microcontroller menu
- refresh values per second – determines how many times per second the information on the screen will be updated (maximum 10 times per second, minimum 1 time per second)
Colors
- sc = screen.setColor
- dark background – sc(4,4,4)
- monitor background – sc(35,48,20)
- traces of numbers – sc(32,44,17)
- shadow inside monitor – sc(25,30,12)
- gray text – sc(40,40,40)
- secondary white text – sc(70,70,70)
- black text – sc(4,4,4)
- scale – sc(20,20,20)
- scale shadow – sc(3,3,3)
- green – sc(15,60,15)
- orange – sc(70,40,10)
- blue – sc(10,30,70)
- red – sc(60, 10, 10)
other version