73a67f2328
from https://github.com/c172p-team/c172p/tree/release/2018.3 commit 0ddd75dbb7431f955d1dd8f468b30300bad6b9d1
36 lines
1 KiB
XML
36 lines
1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<PropertyList>
|
|
|
|
<filter>
|
|
<type>gain</type>
|
|
<gain>100.0</gain>
|
|
<input>
|
|
<property>/systems/electrical/battery-charge-percent</property> <!-- this property ranges from 0.0 to 1.0 despite its name -->
|
|
</input>
|
|
<output>
|
|
<property>/systems/electrical/battery-charge-percent-100</property>
|
|
</output>
|
|
</filter>
|
|
|
|
<logic>
|
|
<name>Low Voltage LED</name>
|
|
<input>
|
|
<and>
|
|
<greater-than>
|
|
<property>systems/electrical/volts</property>
|
|
<value>0.0</value>
|
|
</greater-than>
|
|
<less-than>
|
|
<property>systems/electrical/amps</property>
|
|
<value>0.0</value>
|
|
</less-than>
|
|
|
|
</and>
|
|
</input>
|
|
<output>
|
|
<property>/instrumentation/low-voltage-led</property>
|
|
</output>
|
|
</logic>
|
|
|
|
</PropertyList>
|