<circuit type="simulide_1.0" stepSize="1000000" stepsPS="1000000" NLsteps="100000" animate="0" >

<item itemtype="Buffer" CircId="Buffer-198" mainComp="false" Show_id="false" Show_Val="false" Pos="-328,-120" rotation="0" hflip="1" vflip="1" label="Buffer-192" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Tristate="false" Inverted="true" Open_Collector="false" Input_High_V="2.5 V" Input_Low_V="2.5 V" Input_Imped="1e+14 Ω" Out_High_V="5 V" Out_Low_V="0 V" Out_Imped="40 Ω" rndPD="false" Tpd_ps="10000 ps" Tr_ps="3000 ps" Tf_ps="4000 ps" />

<item itemtype="Buffer" CircId="Buffer-192" mainComp="false" Show_id="false" Show_Val="false" Pos="-328,-144" rotation="0" hflip="1" vflip="1" label="Buffer-192" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Tristate="false" Inverted="true" Open_Collector="false" Input_High_V="2.5 V" Input_Low_V="2.5 V" Input_Imped="1e+14 Ω" Out_High_V="5 V" Out_Low_V="0 V" Out_Imped="40 Ω" rndPD="false" Tpd_ps="10000 ps" Tr_ps="3000 ps" Tf_ps="4000 ps" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-189" mainComp="false" Show_id="false" Show_Val="true" Pos="-372,-120" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-183" idLabPos="-64,-24" labelrot="0" valLabPos="-44,-6" valLabRot="0" Out="true" Voltage="5 V" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-188" mainComp="false" Show_id="false" Show_Val="true" Pos="-372,-144" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-183" idLabPos="-64,-24" labelrot="0" valLabPos="-44,-6" valLabRot="0" Out="true" Voltage="5 V" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-186" mainComp="false" Show_id="false" Show_Val="true" Pos="-336,-92" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-183" idLabPos="-64,-24" labelrot="0" valLabPos="-44,-6" valLabRot="0" Out="true" Voltage="5 V" />

<item itemtype="Fixed Voltage" CircId="Fixed Voltage-183" mainComp="false" Show_id="false" Show_Val="true" Pos="-336,-76" rotation="0" hflip="1" vflip="1" label="Fixed Voltage-183" idLabPos="-64,-24" labelrot="0" valLabPos="-44,-6" valLabRot="0" Out="true" Voltage="5 V" />

<item itemtype="Ground" CircId="Ground-178" mainComp="false" Show_id="false" Show_Val="false" Pos="-240,-52" rotation="0" hflip="1" vflip="1" label="Ground-178" idLabPos="-16,8" labelrot="0" valLabPos="0,0" valLabRot="0" />

<item itemtype="Rail" CircId="Rail-176" mainComp="false" ShowProp="Voltage" Show_id="false" Show_Val="true" Pos="-264,-36" rotation="0" hflip="1" vflip="1" label="Rail-176" idLabPos="-16,-24" labelrot="0" valLabPos="-16,8" valLabRot="0" Voltage="5 V" />

<item itemtype="Resistor" CircId="Resistor-169" mainComp="false" ShowProp="Resistance" Show_id="false" Show_Val="true" Pos="-156,-52" rotation="0" hflip="1" vflip="1" label="Resistor-169" idLabPos="-12,-20" labelrot="0" valLabPos="-16,6" valLabRot="0" Resistance="100 Ω" />

<item itemtype="Resistor" CircId="Resistor-164" mainComp="false" ShowProp="Resistance" Show_id="false" Show_Val="true" Pos="-208,-160" rotation="0" hflip="1" vflip="1" label="Resistor-164" idLabPos="-12,-20" labelrot="0" valLabPos="-16,6" valLabRot="0" Resistance="100 Ω" />

<item itemtype="Led" CircId="Led-147" mainComp="false" Show_id="false" Show_Val="false" Pos="-152,-76" rotation="0" hflip="-1" vflip="1" label="Led-142" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Color="Yellow" Grounded="false" Threshold="2.4 V" MaxCurrent="0.03 A" Resistance="0.6 Ω" />

<item itemtype="Led" CircId="Led-146" mainComp="false" Show_id="false" Show_Val="false" Pos="-156,-96" rotation="0" hflip="1" vflip="1" label="Led-142" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Color="Yellow" Grounded="false" Threshold="2.4 V" MaxCurrent="0.03 A" Resistance="0.6 Ω" />

<item itemtype="Led" CircId="Led-143" mainComp="false" Show_id="false" Show_Val="false" Pos="-152,-140" rotation="0" hflip="-1" vflip="1" label="Led-142" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Color="Yellow" Grounded="false" Threshold="2.4 V" MaxCurrent="0.03 A" Resistance="0.6 Ω" />

<item itemtype="Led" CircId="Led-142" mainComp="false" Show_id="false" Show_Val="false" Pos="-156,-160" rotation="0" hflip="1" vflip="1" label="Led-142" idLabPos="-16,-24" labelrot="0" valLabPos="0,0" valLabRot="0" Color="Yellow" Grounded="false" Threshold="2.4 V" MaxCurrent="0.03 A" Resistance="0.6 Ω" />

<item itemtype="Subcircuit" CircId="L298P-1" mainComp="false" Show_id="true" Show_Val="false" Pos="-280,-152" rotation="0" hflip="1" vflip="1" label="L298P-1" idLabPos="0,-20" labelrot="0" valLabPos="13,44" valLabRot="-90" Logic_Symbol="true" />

<item itemtype="Node" CircId="Node-202" mainComp="false" Pos="-344,-120" />

<item itemtype="Node" CircId="Node-196" mainComp="false" Pos="-344,-144" />

<item itemtype="Node" CircId="Node-181" mainComp="false" Pos="-240,-88" />

<item itemtype="Node" CircId="Node-167" mainComp="false" Pos="-172,-160" />

<item itemtype="Node" CircId="Node-162" mainComp="false" Pos="-124,-76" />

<item itemtype="Node" CircId="Node-158" mainComp="false" Pos="-172,-92" />

<item itemtype="Node" CircId="Node-156" mainComp="false" Pos="-120,-140" />

<item itemtype="Connector" uid="Connector-144" startpinid="Led-142-rPin" endpinid="Node-156-0" pointList="-140,-160,-120,-160,-120,-140" />

<item itemtype="Connector" uid="Connector-148" startpinid="Led-146-rPin" endpinid="Node-162-0" pointList="-140,-96,-124,-96,-124,-76" />

<item itemtype="Connector" uid="Connector-150" startpinid="Led-146-lPin" endpinid="Node-158-0" pointList="-172,-96,-172,-92" />

<item itemtype="Connector" uid="Connector-155" startpinid="L298P-1-OUT2" endpinid="Node-156-1" pointList="-240,-136,-192,-136,-192,-112,-120,-112,-120,-140" />

<item itemtype="Connector" uid="Connector-157" startpinid="Node-156-2" endpinid="Led-143-lPin" pointList="-120,-140,-136,-140" />

<item itemtype="Connector" uid="Connector-159" startpinid="Node-158-2" endpinid="Led-147-rPin" pointList="-172,-92,-172,-76,-168,-76" />

<item itemtype="Connector" uid="Connector-160" startpinid="Node-158-1" endpinid="L298P-1-OUT3" pointList="-172,-92,-196,-92,-196,-128,-240,-128" />

<item itemtype="Connector" uid="Connector-163" startpinid="Node-162-2" endpinid="Led-147-lPin" pointList="-124,-76,-136,-76" />

<item itemtype="Connector" uid="Connector-145" startpinid="Led-142-lPin" endpinid="Node-167-0" pointList="-172,-160,-172,-160" />

<item itemtype="Connector" uid="Connector-165" startpinid="L298P-1-OUT1" endpinid="Resistor-164-lPin" pointList="-240,-144,-240,-160,-224,-160" />

<item itemtype="Connector" uid="Connector-166" startpinid="Resistor-164-rPin" endpinid="Node-167-1" pointList="-192,-160,-172,-160" />

<item itemtype="Connector" uid="Connector-168" startpinid="Node-167-2" endpinid="Led-143-rPin" pointList="-172,-160,-172,-140,-168,-140" />

<item itemtype="Connector" uid="Connector-161" startpinid="L298P-1-OUT4" endpinid="Resistor-169-lPin" pointList="-240,-120,-200,-120,-200,-52,-172,-52" />

<item itemtype="Connector" uid="Connector-173" startpinid="Resistor-169-rPin" endpinid="Node-162-1" pointList="-140,-52,-124,-52,-124,-76" />

<item itemtype="Connector" uid="Connector-177" startpinid="Rail-176-outnod" endpinid="L298P-1-Vs" pointList="-248,-36,-224,-36,-224,-104,-240,-104" />

<item itemtype="Connector" uid="Connector-179" startpinid="Ground-178-Gnd" endpinid="Node-181-0" pointList="-240,-68,-240,-88" />

<item itemtype="Connector" uid="Connector-180" startpinid="L298P-1-SenA" endpinid="Node-181-1" pointList="-240,-96,-240,-88" />

<item itemtype="Connector" uid="Connector-182" startpinid="Node-181-2" endpinid="L298P-1-SenB" pointList="-240,-88,-240,-88" />

<item itemtype="Connector" uid="Connector-184" startpinid="Fixed Voltage-183-outnod" endpinid="L298P-1-EnB" pointList="-320,-76,-288,-76,-288,-96" />

<item itemtype="Connector" uid="Connector-187" startpinid="Fixed Voltage-186-outnod" endpinid="L298P-1-EnA" pointList="-320,-92,-300,-92,-300,-104,-288,-104" />

<item itemtype="Connector" uid="Connector-193" startpinid="Buffer-192-out" endpinid="L298P-1-IN1" pointList="-312,-144,-288,-144" />

<item itemtype="Connector" uid="Connector-194" startpinid="Buffer-192-in0" endpinid="Node-196-0" pointList="-344,-144,-344,-144" />

<item itemtype="Connector" uid="Connector-195" startpinid="Fixed Voltage-188-outnod" endpinid="Node-196-1" pointList="-356,-144,-344,-144" />

<item itemtype="Connector" uid="Connector-197" startpinid="Node-196-2" endpinid="L298P-1-IN2" pointList="-344,-144,-344,-136,-288,-136" />

<item itemtype="Connector" uid="Connector-199" startpinid="Buffer-198-out" endpinid="L298P-1-IN4" pointList="-312,-120,-288,-120" />

<item itemtype="Connector" uid="Connector-200" startpinid="Buffer-198-in0" endpinid="Node-202-0" pointList="-344,-120,-344,-120" />

<item itemtype="Connector" uid="Connector-201" startpinid="Fixed Voltage-189-outnod" endpinid="Node-202-1" pointList="-356,-120,-344,-120" />

<item itemtype="Connector" uid="Connector-203" startpinid="Node-202-2" endpinid="L298P-1-IN3" pointList="-344,-120,-344,-128,-288,-128" />

</circuit>