<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<decoder-config xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder.xsd">
  <version author="http://www.ppp-digital.es" version="1" lastUpdated="20121212"/>
  <version author="Michael Mosher" version="2" lastUpdated="20200109"/>
  <!-- Version 2 - change mfg to match name in NMRA.xml -->
  <decoder>
    <family name="PpP Decoders" mfg="PpP Digital" lowVersionID="52" highVersionID="53" comment="PpP-Sem2 decoder.">
      <model model="PpP-Sem2"/>
    </family>
    <programming direct="yes" paged="yes" register="no" ops="no"/>
    <variables>
      <variable CV="3" mask="XXXXVVVV" default="15" comment="Red light bright" item="pCV3">
        <decVal min="1" max="15"/>
        <label>Red light bright</label>
      </variable>
      <variable CV="4" mask="XXXXVVVV" default="15" comment="Green/White light bright" item="pCV4">
        <decVal min="1" max="15"/>
        <label>Green/White light bright</label>
      </variable>
      <variable CV="7" item="Decoder Version" readOnly="yes" default="52">
        <decVal min="0" max="255"/>
        <label>Decoder Version</label>
        <label xml:lang="it">Versione Decoder: </label>
        <label xml:lang="fr">Version décodeur: </label>
        <label xml:lang="de">Decoder Version: </label>
      </variable>
      <variable CV="8" item="Manufacturer" readOnly="yes" default="74">
        <decVal min="0" max="255"/>
        <label>Manufacturer</label>
        <label xml:lang="it">ID Costruttore: </label>
        <label xml:lang="fr">ID constructeur: </label>
        <label xml:lang="de">Hersteller ID: </label>
      </variable>
      <variable CV="33" default="15" comment="On/Off time" item="pCV33">
        <decVal min="1" max="255"/>
        <label>On/Off time</label>
      </variable>
      <variable CV="34" default="5" comment="Flash rate" item="pCV34">
        <decVal min="1" max="255"/>
        <label>Flash rate</label>
      </variable>
      <variable CV="35" mask="XXXXVVVV" default="0" comment="Signal type" item="pCV35">
        <enumVal>
          <enumChoice choice="4 red/green signals" value="0"/>
          <enumChoice choice="1 red/white and 3 green/red signals" value="1"/>
          <enumChoice choice="2 red/white and 2 green/red signals" value="3"/>
          <enumChoice choice="3 red/white and 1 green/red signals" value="7"/>
          <enumChoice choice="4 red/white signals" value="15"/>
        </enumVal>
        <label>Signal type</label>
      </variable>
    </variables>
  </decoder>
  <pane>
    <column>
      <display item="pCV3"/>
      <display item="pCV4"/>
      <display item="pCV33"/>
      <display item="pCV34"/>
      <display item="pCV35"/>
    </column>
    <name>PpP Panel</name>
  </pane>
</decoder-config>
