<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<cb:CODEBLOCKS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://education.mit.edu/openblocks/ns http://education.mit.edu/openblocks/codeblocks.xsd" xmlns:cb="http://education.mit.edu/openblocks/ns">
<Pages collapsible-pages="yes" drawer-with-page="yes">
<Page page-color="128 128 128" page-drawer="Main" page-infullview="yes" page-name="Main" page-width="3272">
<PageBlocks>
<Block genus-name="setter_variable_number" id="987">
<Location>
<X>128</X>
<Y>1196</Y>
</Location>
<BeforeBlockId>355</BeforeBlockId>
<AfterBlockId>357</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="988" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="989" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment_head" id="357">
<Location>
<X>128</X>
<Y>1250</Y>
</Location>
<BeforeBlockId>987</BeforeBlockId>
<AfterBlockId>359</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="358" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_head" id="359">
<Location>
<X>128</X>
<Y>1280</Y>
</Location>
<BeforeBlockId>357</BeforeBlockId>
<AfterBlockId>305</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="360" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="305">
<Location>
<X>128</X>
<Y>1310</Y>
</Location>
<BeforeBlockId>359</BeforeBlockId>
<AfterBlockId>592</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="306" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_head" id="592">
<Location>
<X>128</X>
<Y>1340</Y>
</Location>
<BeforeBlockId>305</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="593" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="593">
<Label>float sensorWiderstand = 0; float PPM =0 ; float sensorWiderstandAtmo = 0 ;</Label>
<Location>
<X>324</X>
<Y>1343</Y>
</Location>
<Plug>
<BlockConnector con-block-id="592" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="306">
<Label>Initialisiere Variablen fuer die Funktionen</Label>
<Location>
<X>288</X>
<Y>1313</Y>
</Location>
<Plug>
<BlockConnector con-block-id="305" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="360">
<Label>float widerstandMaximal;</Label>
<Location>
<X>324</X>
<Y>1283</Y>
</Location>
<Plug>
<BlockConnector con-block-id="359" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="358">
<Label>Parameter fuer die Kalibrierung</Label>
<Location>
<X>428</X>
<Y>1253</Y>
</Location>
<Plug>
<BlockConnector con-block-id="357" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="989">
<Label>1000</Label>
<Location>
<X>360</X>
<Y>1223</Y>
</Location>
<Plug>
<BlockConnector con-block-id="987" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="988">
<Label>zeitAbstand</Label>
<Location>
<X>360</X>
<Y>1199</Y>
</Location>
<Plug>
<BlockConnector con-block-id="987" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="setter_variable_number" id="978">
<Location>
<X>128</X>
<Y>590</Y>
</Location>
<BeforeBlockId>975</BeforeBlockId>
<AfterBlockId>984</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="979" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="980" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="984">
<Location>
<X>128</X>
<Y>644</Y>
</Location>
<BeforeBlockId>978</BeforeBlockId>
<AfterBlockId>981</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="985" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="986" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="981">
<Location>
<X>128</X>
<Y>698</Y>
</Location>
<BeforeBlockId>984</BeforeBlockId>
<AfterBlockId>329</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="982" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="983" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="983">
<Label>11</Label>
<Location>
<X>360</X>
<Y>725</Y>
</Location>
<Plug>
<BlockConnector con-block-id="981" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="982">
<Label>pinRot</Label>
<Location>
<X>360</X>
<Y>701</Y>
</Location>
<Plug>
<BlockConnector con-block-id="981" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="986">
<Label>10</Label>
<Location>
<X>360</X>
<Y>671</Y>
</Location>
<Plug>
<BlockConnector con-block-id="984" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="985">
<Label>pinGruen</Label>
<Location>
<X>360</X>
<Y>647</Y>
</Location>
<Plug>
<BlockConnector con-block-id="984" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="980">
<Label>9</Label>
<Location>
<X>360</X>
<Y>617</Y>
</Location>
<Plug>
<BlockConnector con-block-id="978" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="979">
<Label>pinBlau</Label>
<Location>
<X>360</X>
<Y>593</Y>
</Location>
<Plug>
<BlockConnector con-block-id="978" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="code_comment_head" id="329">
<Location>
<X>128</X>
<Y>752</Y>
</Location>
<BeforeBlockId>981</BeforeBlockId>
<AfterBlockId>331</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="330" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_head" id="331">
<Location>
<X>128</X>
<Y>782</Y>
</Location>
<BeforeBlockId>329</BeforeBlockId>
<AfterBlockId>335</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="332" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_head" id="335">
<Location>
<X>128</X>
<Y>812</Y>
</Location>
<BeforeBlockId>331</BeforeBlockId>
<AfterBlockId>333</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="336" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_head" id="333">
<Location>
<X>128</X>
<Y>842</Y>
</Location>
<BeforeBlockId>335</BeforeBlockId>
<AfterBlockId>608</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="334" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="608">
<Location>
<X>128</X>
<Y>872</Y>
</Location>
<BeforeBlockId>333</BeforeBlockId>
<AfterBlockId>337</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="609" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="610" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_head" id="337">
<Location>
<X>128</X>
<Y>926</Y>
</Location>
<BeforeBlockId>608</BeforeBlockId>
<AfterBlockId>339</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="338" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment_head" id="339">
<Location>
<X>128</X>
<Y>956</Y>
</Location>
<BeforeBlockId>337</BeforeBlockId>
<AfterBlockId>341</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="340" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_head" id="341">
<Location>
<X>128</X>
<Y>986</Y>
</Location>
<BeforeBlockId>339</BeforeBlockId>
<AfterBlockId>343</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="342" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment_head" id="343">
<Location>
<X>128</X>
<Y>1016</Y>
</Location>
<BeforeBlockId>341</BeforeBlockId>
<AfterBlockId>345</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="344" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_head" id="345">
<Location>
<X>128</X>
<Y>1046</Y>
</Location>
<BeforeBlockId>343</BeforeBlockId>
<AfterBlockId>347</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="346" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_head" id="347">
<Location>
<X>128</X>
<Y>1076</Y>
</Location>
<BeforeBlockId>345</BeforeBlockId>
<AfterBlockId>349</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="348" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment_head" id="349">
<Location>
<X>128</X>
<Y>1106</Y>
</Location>
<BeforeBlockId>347</BeforeBlockId>
<AfterBlockId>351</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="350" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_head" id="351">
<Location>
<X>128</X>
<Y>1136</Y>
</Location>
<BeforeBlockId>349</BeforeBlockId>
<AfterBlockId>355</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="352" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment_head" id="355">
<Location>
<X>128</X>
<Y>1166</Y>
</Location>
<BeforeBlockId>351</BeforeBlockId>
<AfterBlockId>987</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="356" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="356">
<Label>Abstand zwischen Messungen nach dem Kalibrieren (in Millisekunden)</Label>
<Location>
<X>428</X>
<Y>1169</Y>
</Location>
<Plug>
<BlockConnector con-block-id="355" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="352">
<Label>#define ATMOCO2 397.13</Label>
<Location>
<X>324</X>
<Y>1139</Y>
</Location>
<Plug>
<BlockConnector con-block-id="351" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="350">
<Label>CO2-Wert in der Atmosphaere als Basis fr die Kalibrierung</Label>
<Location>
<X>428</X>
<Y>1109</Y>
</Location>
<Plug>
<BlockConnector con-block-id="349" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="348">
<Label>#define PARB 2.769034857</Label>
<Location>
<X>324</X>
<Y>1079</Y>
</Location>
<Plug>
<BlockConnector con-block-id="347" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="346">
<Label>#define PARA 116.6020682</Label>
<Location>
<X>324</X>
<Y>1049</Y>
</Location>
<Plug>
<BlockConnector con-block-id="345" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="344">
<Label>Parameter zur Berechnung des CO2-Wertes in ppm auf Basis des Sensor-Widerstands</Label>
<Location>
<X>428</X>
<Y>1019</Y>
</Location>
<Plug>
<BlockConnector con-block-id="343" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="342">
<Label>#define RLAST 1.0</Label>
<Location>
<X>324</X>
<Y>989</Y>
</Location>
<Plug>
<BlockConnector con-block-id="341" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="340">
<Label>Lastwiderstand des MQ135 in Ohm</Label>
<Location>
<X>428</X>
<Y>959</Y>
</Location>
<Plug>
<BlockConnector con-block-id="339" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="338">
<Label>float durchschnitt = 0; // Durchschnittswert</Label>
<Location>
<X>324</X>
<Y>929</Y>
</Location>
<Plug>
<BlockConnector con-block-id="337" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="610">
<Label>0</Label>
<Location>
<X>360</X>
<Y>899</Y>
</Location>
<Plug>
<BlockConnector con-block-id="608" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="609">
<Label>messungIndex</Label>
<Location>
<X>360</X>
<Y>875</Y>
</Location>
<Plug>
<BlockConnector con-block-id="608" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="334">
<Label>float gesamt = 0; // Summe aller Werte</Label>
<Location>
<X>324</X>
<Y>845</Y>
</Location>
<Plug>
<BlockConnector con-block-id="333" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="336">
<Label>int messungen[anzahlMessungen]; // Array zur Berechnung der Durchschnittswerte</Label>
<Location>
<X>324</X>
<Y>815</Y>
</Location>
<Plug>
<BlockConnector con-block-id="335" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="332">
<Label>const int anzahlMessungen = 10;  // Wie viele Werte zur Berechnung es Durchschnitts genommen werden</Label>
<Location>
<X>324</X>
<Y>785</Y>
</Location>
<Plug>
<BlockConnector con-block-id="331" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="330">
<Label>Parameter zur Berechnung der Durchschnittswerte</Label>
<Location>
<X>428</X>
<Y>755</Y>
</Location>
<Plug>
<BlockConnector con-block-id="329" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="setter_variable_number" id="972">
<Location>
<X>128</X>
<Y>482</Y>
</Location>
<BeforeBlockId>969</BeforeBlockId>
<AfterBlockId>975</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="973" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="974" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="setter_variable_number" id="975">
<Location>
<X>128</X>
<Y>536</Y>
</Location>
<BeforeBlockId>972</BeforeBlockId>
<AfterBlockId>978</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="976" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="977" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="977">
<Label>0</Label>
<Location>
<X>360</X>
<Y>563</Y>
</Location>
<Plug>
<BlockConnector con-block-id="975" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="976">
<Label>ledRot</Label>
<Location>
<X>360</X>
<Y>539</Y>
</Location>
<Plug>
<BlockConnector con-block-id="975" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="number" id="974">
<Label>0</Label>
<Location>
<X>360</X>
<Y>509</Y>
</Location>
<Plug>
<BlockConnector con-block-id="972" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="973">
<Label>ledGruen</Label>
<Location>
<X>360</X>
<Y>485</Y>
</Location>
<Plug>
<BlockConnector con-block-id="972" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="setter_variable_number" id="969">
<Location>
<X>128</X>
<Y>428</Y>
</Location>
<BeforeBlockId>317</BeforeBlockId>
<AfterBlockId>972</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="970" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="971" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="971">
<Label>0</Label>
<Location>
<X>360</X>
<Y>455</Y>
</Location>
<Plug>
<BlockConnector con-block-id="969" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="970">
<Label>ledBlau</Label>
<Location>
<X>360</X>
<Y>431</Y>
</Location>
<Plug>
<BlockConnector con-block-id="969" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="code_head" id="311">
<Location>
<X>128</X>
<Y>368</Y>
</Location>
<BeforeBlockId>315</BeforeBlockId>
<AfterBlockId>317</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="312" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment_head" id="317">
<Location>
<X>128</X>
<Y>398</Y>
</Location>
<BeforeBlockId>311</BeforeBlockId>
<AfterBlockId>969</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="318" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="318">
<Label>Werte und Pins fuer die RGB-LED</Label>
<Location>
<X>428</X>
<Y>401</Y>
</Location>
<Plug>
<BlockConnector con-block-id="317" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="312">
<Label>int pin0 = A0;</Label>
<Location>
<X>324</X>
<Y>371</Y>
</Location>
<Plug>
<BlockConnector con-block-id="311" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="code_comment_head" id="315">
<Location>
<X>128</X>
<Y>338</Y>
</Location>
<BeforeBlockId>966</BeforeBlockId>
<AfterBlockId>311</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="316" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="316">
<Label>Verwendeter Pin zum Messen</Label>
<Location>
<X>428</X>
<Y>341</Y>
</Location>
<Plug>
<BlockConnector con-block-id="315" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="setter_variable_number" id="966">
<Location>
<X>128</X>
<Y>284</Y>
</Location>
<BeforeBlockId>904</BeforeBlockId>
<AfterBlockId>315</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="967" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="968" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="968">
<Label>1200</Label>
<Location>
<X>360</X>
<Y>311</Y>
</Location>
<Plug>
<BlockConnector con-block-id="966" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="967">
<Label>schlechteLuft</Label>
<Location>
<X>360</X>
<Y>287</Y>
</Location>
<Plug>
<BlockConnector con-block-id="966" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="setter_variable_number" id="904">
<Location>
<X>128</X>
<Y>230</Y>
</Location>
<BeforeBlockId>313</BeforeBlockId>
<AfterBlockId>966</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="905" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="906" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="906">
<Label>800</Label>
<Location>
<X>360</X>
<Y>257</Y>
</Location>
<Plug>
<BlockConnector con-block-id="904" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="905">
<Label>mittlereLuft</Label>
<Location>
<X>360</X>
<Y>233</Y>
</Location>
<Plug>
<BlockConnector con-block-id="904" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine_com" id="569">
<Label>berechneSensorWiderstand</Label>
<Location>
<X>1171</X>
<Y>934</Y>
</Location>
<Sockets num-sockets="2">
<BlockConnector con-block-id="570" connector-kind="socket" connector-type="string" init-type="string" label="Beschreibung" position-type="single"/>
<BlockConnector con-block-id="573" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Befehle" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="573">
<Location>
<X>1438</X>
<Y>966</Y>
</Location>
<BeforeBlockId>569</BeforeBlockId>
<AfterBlockId>571</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="574" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="571">
<Location>
<X>1438</X>
<Y>996</Y>
</Location>
<BeforeBlockId>573</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="572" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="572">
<Label>sensorWiderstand = ((1023. / durchschnitt) -1.) * RLAST;</Label>
<Location>
<X>1564</X>
<Y>999</Y>
</Location>
<Plug>
<BlockConnector con-block-id="571" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="574">
<Label>Schreibe den berechneten Widerstand des Sensors in die Variable sensorWiderstand</Label>
<Location>
<X>1598</X>
<Y>969</Y>
</Location>
<Plug>
<BlockConnector con-block-id="573" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="570">
<Label>Widerstand des Sensors (in kOhm) berechnen</Label>
<Location>
<X>1441</X>
<Y>937</Y>
</Location>
<Plug>
<BlockConnector con-block-id="569" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine_com" id="663">
<Label>setzeOrange</Label>
<Location>
<X>1170</X>
<Y>1390</Y>
</Location>
<Sockets num-sockets="2">
<BlockConnector con-block-id="664" connector-kind="socket" connector-type="string" init-type="string" label="Beschreibung" position-type="single"/>
<BlockConnector con-block-id="665" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Befehle" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="665">
<Location>
<X>1347</X>
<Y>1422</Y>
</Location>
<BeforeBlockId>663</BeforeBlockId>
<AfterBlockId>667</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="666" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="667">
<Location>
<X>1347</X>
<Y>1452</Y>
</Location>
<BeforeBlockId>665</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="668" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="668">
<Label>ledGruen=165; ledRot=255; ledBlau=0; analogWrite(pinGruen, ledGruen); analogWrite(pinRot, ledRot); analogWrite(pinBlau, ledBlau);</Label>
<Location>
<X>1473</X>
<Y>1455</Y>
</Location>
<Plug>
<BlockConnector con-block-id="667" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="666">
<Label>lege die Werte fest und gebe diese auf die entsprechenden Pins</Label>
<Location>
<X>1507</X>
<Y>1425</Y>
</Location>
<Plug>
<BlockConnector con-block-id="665" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="664">
<Label>Setze die LED auf Orange</Label>
<Location>
<X>1350</X>
<Y>1393</Y>
</Location>
<Plug>
<BlockConnector con-block-id="663" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine_com" id="594">
<Label>berechneDurchschnittlichenSensorWert</Label>
<Location>
<X>1170</X>
<Y>24</Y>
</Location>
<Sockets num-sockets="2">
<BlockConnector con-block-id="595" connector-kind="socket" connector-type="string" init-type="string" label="Beschreibung" position-type="single"/>
<BlockConnector con-block-id="596" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Befehle" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="596">
<Location>
<X>1521</X>
<Y>56</Y>
</Location>
<BeforeBlockId>594</BeforeBlockId>
<AfterBlockId>598</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="597" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="598">
<Location>
<X>1521</X>
<Y>86</Y>
</Location>
<BeforeBlockId>596</BeforeBlockId>
<AfterBlockId>600</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="599" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="600">
<Location>
<X>1521</X>
<Y>116</Y>
</Location>
<BeforeBlockId>598</BeforeBlockId>
<AfterBlockId>604</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="601" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="604">
<Location>
<X>1521</X>
<Y>146</Y>
</Location>
<BeforeBlockId>600</BeforeBlockId>
<AfterBlockId>602</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="605" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="602">
<Location>
<X>1521</X>
<Y>176</Y>
</Location>
<BeforeBlockId>604</BeforeBlockId>
<AfterBlockId>611</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="603" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="if" id="611">
<Location>
<X>1521</X>
<Y>206</Y>
</Location>
<BeforeBlockId>602</BeforeBlockId>
<AfterBlockId>630</AfterBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="612" connector-kind="socket" connector-type="boolean" init-type="boolean" label="teste" position-type="single"/>
<BlockConnector con-block-id="615" connector-kind="socket" connector-type="cmd" init-type="cmd" label="dann" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="630">
<Location>
<X>1521</X>
<Y>305</Y>
</Location>
<BeforeBlockId>611</BeforeBlockId>
<AfterBlockId>632</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="631" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="632">
<Location>
<X>1521</X>
<Y>335</Y>
</Location>
<BeforeBlockId>630</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="633" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="633">
<Label>durchschnitt = gesamt / anzahlMessungen;</Label>
<Location>
<X>1647</X>
<Y>338</Y>
</Location>
<Plug>
<BlockConnector con-block-id="632" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="631">
<Label>Berechne den Durschnitt und schreibe ihn in die Variable Durchschnitt</Label>
<Location>
<X>1681</X>
<Y>308</Y>
</Location>
<Plug>
<BlockConnector con-block-id="630" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="setter_variable_number" id="615">
<Location>
<X>1614</X>
<Y>242</Y>
</Location>
<BeforeBlockId>611</BeforeBlockId>
<Sockets num-sockets="2">
<BlockConnector con-block-id="616" connector-kind="socket" connector-type="number" init-type="number" label="Variable" position-type="single"/>
<BlockConnector con-block-id="617" connector-kind="socket" connector-type="number" init-type="number" label="Wert" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="617">
<Label>0</Label>
<Location>
<X>1846</X>
<Y>269</Y>
</Location>
<Plug>
<BlockConnector con-block-id="615" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="616">
<Label>messungIndex</Label>
<Location>
<X>1846</X>
<Y>245</Y>
</Location>
<Plug>
<BlockConnector con-block-id="615" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="greater_equal" id="612">
<Location>
<X>1617</X>
<Y>209</Y>
</Location>
<Plug>
<BlockConnector con-block-id="611" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="613" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="614" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="constant_number" id="614">
<Label>anzahlMessungen</Label>
<Location>
<X>1789</X>
<Y>212</Y>
</Location>
<Plug>
<BlockConnector con-block-id="612" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="613">
<Label>messungIndex</Label>
<Location>
<X>1627</X>
<Y>212</Y>
</Location>
<Plug>
<BlockConnector con-block-id="612" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="603">
<Label>messungIndex = messungIndex + 1;</Label>
<Location>
<X>1647</X>
<Y>179</Y>
</Location>
<Plug>
<BlockConnector con-block-id="602" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="605">
<Label>gesamt = gesamt + messungen[messungIndex];</Label>
<Location>
<X>1647</X>
<Y>149</Y>
</Location>
<Plug>
<BlockConnector con-block-id="604" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="601">
<Label>messungen[messungIndex] = analogRead(pin0);</Label>
<Location>
<X>1647</X>
<Y>119</Y>
</Location>
<Plug>
<BlockConnector con-block-id="600" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="599">
<Label>gesamt = gesamt - messungen[messungIndex];</Label>
<Location>
<X>1647</X>
<Y>89</Y>
</Location>
<Plug>
<BlockConnector con-block-id="598" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="597">
<Label>Vorbereitungen m den Durchschnitt zu berechnen</Label>
<Location>
<X>1681</X>
<Y>59</Y>
</Location>
<Plug>
<BlockConnector con-block-id="596" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="595">
<Label>Auselesen des Sensors und Bilden des Mittelwertes ber die lezten 10 Messwerte</Label>
<Location>
<X>1524</X>
<Y>27</Y>
</Location>
<Plug>
<BlockConnector con-block-id="594" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine_com" id="575">
<Label>berechnePPM</Label>
<Location>
<X>1170</X>
<Y>396</Y>
</Location>
<Sockets num-sockets="2">
<BlockConnector con-block-id="576" connector-kind="socket" connector-type="string" init-type="string" label="Beschreibung" position-type="single"/>
<BlockConnector con-block-id="623" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Befehle" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="623">
<Location>
<X>1347</X>
<Y>428</Y>
</Location>
<BeforeBlockId>575</BeforeBlockId>
<AfterBlockId>625</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="624" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="subroutine-ref" id="625">
<Label>berechneSensorWiderstand</Label>
<Location>
<X>1347</X>
<Y>458</Y>
</Location>
<BeforeBlockId>623</BeforeBlockId>
<AfterBlockId>577</AfterBlockId>
</Block>
<Block genus-name="code_comment" id="577">
<Location>
<X>1347</X>
<Y>482</Y>
</Location>
<BeforeBlockId>625</BeforeBlockId>
<AfterBlockId>579</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="578" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="579">
<Location>
<X>1347</X>
<Y>512</Y>
</Location>
<BeforeBlockId>577</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="580" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="580">
<Label>PPM = PARA * pow((sensorWiderstand / widerstandMaximal), -PARB);</Label>
<Location>
<X>1473</X>
<Y>515</Y>
</Location>
<Plug>
<BlockConnector con-block-id="579" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="578">
<Label>Schreibe den berechneten PPM-Wert in die Variable PPM</Label>
<Location>
<X>1507</X>
<Y>485</Y>
</Location>
<Plug>
<BlockConnector con-block-id="577" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="624">
<Label>Fuehre zunaechst das Unterprogramm zur Berechnung des Sensor-Widerstands aus</Label>
<Location>
<X>1507</X>
<Y>431</Y>
</Location>
<Plug>
<BlockConnector con-block-id="623" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="576">
<Label>CO2-Wert in PPM berechnen. Auf Basis der (sehr ungenauen) Annahme, dass sich nur CO2 in der Luft befindet.</Label>
<Location>
<X>1350</X>
<Y>399</Y>
</Location>
<Plug>
<BlockConnector con-block-id="575" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine_com" id="634">
<Label>kalibriereSensor</Label>
<Location>
<X>1171</X>
<Y>568</Y>
</Location>
<Sockets num-sockets="2">
<BlockConnector con-block-id="635" connector-kind="socket" connector-type="string" init-type="string" label="Beschreibung" position-type="single"/>
<BlockConnector con-block-id="636" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Befehle" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="636">
<Location>
<X>1382</X>
<Y>600</Y>
</Location>
<BeforeBlockId>634</BeforeBlockId>
<AfterBlockId>638</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="637" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="subroutine-ref" id="638">
<Label>berechneWiderstandAtmo</Label>
<Location>
<X>1382</X>
<Y>630</Y>
</Location>
<BeforeBlockId>636</BeforeBlockId>
<AfterBlockId>639</AfterBlockId>
</Block>
<Block genus-name="code_comment" id="639">
<Location>
<X>1382</X>
<Y>654</Y>
</Location>
<BeforeBlockId>638</BeforeBlockId>
<AfterBlockId>641</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="640" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="641">
<Location>
<X>1382</X>
<Y>684</Y>
</Location>
<BeforeBlockId>639</BeforeBlockId>
<AfterBlockId>643</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="642" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="643">
<Location>
<X>1382</X>
<Y>714</Y>
</Location>
<BeforeBlockId>641</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="644" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="644">
<Label>if ((((9999 * widerstandMaximal) + kalibrierungsWiderstand) / 10000) &gt; widerstandMaximal) {     widerstandMaximal = (((9999 * widerstandMaximal) + kalibrierungsWiderstand) / 10000);   }</Label>
<Location>
<X>1508</X>
<Y>717</Y>
</Location>
<Plug>
<BlockConnector con-block-id="643" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="642">
<Label>float kalibrierungsWiderstand = sensorWiderstandAtmo;</Label>
<Location>
<X>1508</X>
<Y>687</Y>
</Location>
<Plug>
<BlockConnector con-block-id="641" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="640">
<Label>Kalibrierung (kompliziert)</Label>
<Location>
<X>1542</X>
<Y>657</Y>
</Location>
<Plug>
<BlockConnector con-block-id="639" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="637">
<Label>Fuehre zunaechst das Unterprogramm zur Berechnung des atmosphaerischen Widerstandes aus</Label>
<Location>
<X>1542</X>
<Y>603</Y>
</Location>
<Plug>
<BlockConnector con-block-id="636" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="635">
<Label>Kalibriere den Sensor langsam (der Sensor muss dazu an frischer Luft sein. Der gemessene Widerstand wird als WIderstand bei atmospaerischem CO2-Gehalt angenommen).</Label>
<Location>
<X>1385</X>
<Y>571</Y>
</Location>
<Plug>
<BlockConnector con-block-id="634" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine_com" id="581">
<Label>berechneWiderstandAtmo</Label>
<Location>
<X>1171</X>
<Y>768</Y>
</Location>
<Sockets num-sockets="2">
<BlockConnector con-block-id="582" connector-kind="socket" connector-type="string" init-type="string" label="Beschreibung" position-type="single"/>
<BlockConnector con-block-id="588" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Befehle" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="588">
<Location>
<X>1424</X>
<Y>800</Y>
</Location>
<BeforeBlockId>581</BeforeBlockId>
<AfterBlockId>587</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="589" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="subroutine-ref" id="587">
<Label>berechneSensorWiderstand</Label>
<Location>
<X>1424</X>
<Y>830</Y>
</Location>
<BeforeBlockId>588</BeforeBlockId>
<AfterBlockId>583</AfterBlockId>
</Block>
<Block genus-name="code_comment" id="583">
<Location>
<X>1424</X>
<Y>854</Y>
</Location>
<BeforeBlockId>587</BeforeBlockId>
<AfterBlockId>585</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="584" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="585">
<Location>
<X>1424</X>
<Y>884</Y>
</Location>
<BeforeBlockId>583</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="586" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="586">
<Label>sensorWiderstandAtmo = sensorWiderstand * pow((ATMOCO2 / PARA), (1. / PARB));</Label>
<Location>
<X>1550</X>
<Y>887</Y>
</Location>
<Plug>
<BlockConnector con-block-id="585" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="584">
<Label>Schreibe den berechneten widerstandAtmo-Wert in die Variable widerstandAtmo</Label>
<Location>
<X>1584</X>
<Y>857</Y>
</Location>
<Plug>
<BlockConnector con-block-id="583" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="589">
<Label>Fuehre zunaechst das Unterprogramm zur Berechnung des Sensor-Widerstands aus</Label>
<Location>
<X>1584</X>
<Y>803</Y>
</Location>
<Plug>
<BlockConnector con-block-id="588" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="582">
<Label>Berechne den Widerstand= des Sonsors (Widerstand bei atmosphaerischer CO2-Konzentration</Label>
<Location>
<X>1427</X>
<Y>771</Y>
</Location>
<Plug>
<BlockConnector con-block-id="581" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine_com" id="651">
<Label>setzeBlau</Label>
<Location>
<X>1171</X>
<Y>1053</Y>
</Location>
<Sockets num-sockets="2">
<BlockConnector con-block-id="652" connector-kind="socket" connector-type="string" init-type="string" label="Beschreibung" position-type="single"/>
<BlockConnector con-block-id="653" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Befehle" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="653">
<Location>
<X>1334</X>
<Y>1085</Y>
</Location>
<BeforeBlockId>651</BeforeBlockId>
<AfterBlockId>655</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="654" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="655">
<Location>
<X>1334</X>
<Y>1115</Y>
</Location>
<BeforeBlockId>653</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="656" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="656">
<Label>ledGruen=0; ledRot=0; ledBlau=255; analogWrite(pinGruen, ledGruen); analogWrite(pinRot, ledRot); analogWrite(pinBlau, ledBlau);</Label>
<Location>
<X>1460</X>
<Y>1118</Y>
</Location>
<Plug>
<BlockConnector con-block-id="655" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="654">
<Label>lege die Werte fest und gebe diese auf die entsprechenden Pins</Label>
<Location>
<X>1494</X>
<Y>1088</Y>
</Location>
<Plug>
<BlockConnector con-block-id="653" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="652">
<Label>Setze die LED auf blau</Label>
<Location>
<X>1337</X>
<Y>1056</Y>
</Location>
<Plug>
<BlockConnector con-block-id="651" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine_com" id="645">
<Label>setzeGruen</Label>
<Location>
<X>1171</X>
<Y>1165</Y>
</Location>
<Sockets num-sockets="2">
<BlockConnector con-block-id="646" connector-kind="socket" connector-type="string" init-type="string" label="Beschreibung" position-type="single"/>
<BlockConnector con-block-id="647" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Befehle" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="647">
<Location>
<X>1340</X>
<Y>1197</Y>
</Location>
<BeforeBlockId>645</BeforeBlockId>
<AfterBlockId>649</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="648" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="649">
<Location>
<X>1340</X>
<Y>1227</Y>
</Location>
<BeforeBlockId>647</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="650" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="650">
<Label>ledGruen=255; ledRot=0; ledBlau=0; analogWrite(pinGruen, ledGruen); analogWrite(pinRot, ledRot); analogWrite(pinBlau, ledBlau);</Label>
<Location>
<X>1466</X>
<Y>1230</Y>
</Location>
<Plug>
<BlockConnector con-block-id="649" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="648">
<Label>lege die Werte fest und gebe diese auf die entsprechenden Pins</Label>
<Location>
<X>1500</X>
<Y>1200</Y>
</Location>
<Plug>
<BlockConnector con-block-id="647" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="646">
<Label>Setze die LED auf gruen</Label>
<Location>
<X>1343</X>
<Y>1168</Y>
</Location>
<Plug>
<BlockConnector con-block-id="645" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine_com" id="657">
<Label>setzeRot</Label>
<Location>
<X>1170</X>
<Y>1280</Y>
</Location>
<Sockets num-sockets="2">
<BlockConnector con-block-id="658" connector-kind="socket" connector-type="string" init-type="string" label="Beschreibung" position-type="single"/>
<BlockConnector con-block-id="659" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Befehle" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="659">
<Location>
<X>1325</X>
<Y>1312</Y>
</Location>
<BeforeBlockId>657</BeforeBlockId>
<AfterBlockId>661</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="660" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="661">
<Location>
<X>1325</X>
<Y>1342</Y>
</Location>
<BeforeBlockId>659</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="662" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="662">
<Label>ledGruen=0; ledRot=255; ledBlau=0; analogWrite(pinGruen, ledGruen); analogWrite(pinRot, ledRot); analogWrite(pinBlau, ledBlau);</Label>
<Location>
<X>1451</X>
<Y>1345</Y>
</Location>
<Plug>
<BlockConnector con-block-id="661" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="660">
<Label>lege die Werte fest und gebe diese auf die entsprechenden Pins</Label>
<Location>
<X>1485</X>
<Y>1315</Y>
</Location>
<Plug>
<BlockConnector con-block-id="659" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="658">
<Label>Setze die LED auf rot</Label>
<Location>
<X>1328</X>
<Y>1283</Y>
</Location>
<Plug>
<BlockConnector con-block-id="657" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="sketch" id="304">
<Location>
<X>15</X>
<Y>192</Y>
</Location>
<Sockets num-sockets="3">
<BlockConnector con-block-id="313" connector-kind="socket" connector-type="cmd" init-type="cmd" label="" position-type="single"/>
<BlockConnector con-block-id="671" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Setup" position-type="single"/>
<BlockConnector con-block-id="688" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Loop" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="688">
<Location>
<X>126</X>
<Y>1512</Y>
</Location>
<BeforeBlockId>304</BeforeBlockId>
<AfterBlockId>681</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="689" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="subroutine-ref" id="681">
<Label>berechneDurchschnittlichenSensorWert</Label>
<Location>
<X>126</X>
<Y>1542</Y>
</Location>
<BeforeBlockId>688</BeforeBlockId>
<AfterBlockId>691</AfterBlockId>
</Block>
<Block genus-name="code_comment" id="691">
<Location>
<X>126</X>
<Y>1566</Y>
</Location>
<BeforeBlockId>681</BeforeBlockId>
<AfterBlockId>682</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="692" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="subroutine-ref" id="682">
<Label>kalibriereSensor</Label>
<Location>
<X>126</X>
<Y>1596</Y>
</Location>
<BeforeBlockId>691</BeforeBlockId>
<AfterBlockId>693</AfterBlockId>
</Block>
<Block genus-name="code_comment" id="693">
<Location>
<X>126</X>
<Y>1620</Y>
</Location>
<BeforeBlockId>682</BeforeBlockId>
<AfterBlockId>683</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="694" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="subroutine-ref" id="683">
<Label>berechnePPM</Label>
<Location>
<X>126</X>
<Y>1650</Y>
</Location>
<BeforeBlockId>693</BeforeBlockId>
<AfterBlockId>733</AfterBlockId>
</Block>
<Block genus-name="code_comment" id="733">
<Location>
<X>126</X>
<Y>1674</Y>
</Location>
<BeforeBlockId>683</BeforeBlockId>
<AfterBlockId>735</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="734" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="735">
<Location>
<X>126</X>
<Y>1704</Y>
</Location>
<BeforeBlockId>733</BeforeBlockId>
<AfterBlockId>697</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="736" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="697">
<Location>
<X>126</X>
<Y>1734</Y>
</Location>
<BeforeBlockId>735</BeforeBlockId>
<AfterBlockId>699</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="698" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="ifelse" id="699">
<Location>
<X>126</X>
<Y>1764</Y>
</Location>
<BeforeBlockId>697</BeforeBlockId>
<Sockets num-sockets="3">
<BlockConnector con-block-id="700" connector-kind="socket" connector-type="boolean" init-type="boolean" label="teste" position-type="single"/>
<BlockConnector con-block-id="703" connector-kind="socket" connector-type="cmd" init-type="cmd" label="dann" position-type="single"/>
<BlockConnector con-block-id="704" connector-kind="socket" connector-type="cmd" init-type="cmd" label="sonst" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="ifelse" id="704">
<Location>
<X>260</X>
<Y>1836</Y>
</Location>
<BeforeBlockId>699</BeforeBlockId>
<AfterBlockId>728</AfterBlockId>
<Sockets num-sockets="3">
<BlockConnector con-block-id="709" connector-kind="socket" connector-type="boolean" init-type="boolean" label="teste" position-type="single"/>
<BlockConnector con-block-id="708" connector-kind="socket" connector-type="cmd" init-type="cmd" label="dann" position-type="single"/>
<BlockConnector con-block-id="716" connector-kind="socket" connector-type="cmd" init-type="cmd" label="sonst" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="728">
<Location>
<X>260</X>
<Y>2079</Y>
</Location>
<BeforeBlockId>704</BeforeBlockId>
<AfterBlockId>726</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="729" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="delay" id="726">
<Location>
<X>260</X>
<Y>2109</Y>
</Location>
<BeforeBlockId>728</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="737" connector-kind="socket" connector-type="number" init-type="number" label="Millisekunden" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="737">
<Label>zeitAbstand</Label>
<Location>
<X>502</X>
<Y>2112</Y>
</Location>
<Plug>
<BlockConnector con-block-id="726" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="729">
<Label>Ist der CO2-Gehalt hoeher als in der Atmosphre (also, wenn die Kalibrierung abgeschlossen ist), dann warte zwischen den Messungen 1 sec.</Label>
<Location>
<X>420</X>
<Y>2082</Y>
</Location>
<Plug>
<BlockConnector con-block-id="728" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="ifelse" id="716">
<Location>
<X>394</X>
<Y>1936</Y>
</Location>
<BeforeBlockId>704</BeforeBlockId>
<Sockets num-sockets="3">
<BlockConnector con-block-id="717" connector-kind="socket" connector-type="boolean" init-type="boolean" label="teste" position-type="single"/>
<BlockConnector con-block-id="724" connector-kind="socket" connector-type="cmd" init-type="cmd" label="dann" position-type="single"/>
<BlockConnector con-block-id="725" connector-kind="socket" connector-type="cmd" init-type="cmd" label="sonst" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="subroutine-ref" id="725">
<Label>setzeRot</Label>
<Location>
<X>528</X>
<Y>2036</Y>
</Location>
<BeforeBlockId>716</BeforeBlockId>
</Block>
<Block genus-name="subroutine-ref" id="724">
<Label>setzeOrange</Label>
<Location>
<X>529</X>
<Y>2000</Y>
</Location>
<BeforeBlockId>716</BeforeBlockId>
</Block>
<Block genus-name="and" id="717">
<Location>
<X>532</X>
<Y>1939</Y>
</Location>
<Plug>
<BlockConnector con-block-id="716" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="single"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="718" connector-kind="socket" connector-type="boolean" init-type="boolean" label="" position-type="single"/>
<BlockConnector con-block-id="721" connector-kind="socket" connector-type="boolean" init-type="boolean" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="less" id="721">
<Location>
<X>586</X>
<Y>1967</Y>
</Location>
<Plug>
<BlockConnector con-block-id="717" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="722" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="723" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="723">
<Label>schlechteLuft</Label>
<Location>
<X>689</X>
<Y>1970</Y>
</Location>
<Plug>
<BlockConnector con-block-id="721" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="722">
<Label>PPM</Label>
<Location>
<X>596</X>
<Y>1970</Y>
</Location>
<Plug>
<BlockConnector con-block-id="721" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="greater_equal" id="718">
<Location>
<X>586</X>
<Y>1939</Y>
</Location>
<Plug>
<BlockConnector con-block-id="717" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="719" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="707" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="707">
<Label>mittlereLuft</Label>
<Location>
<X>696</X>
<Y>1942</Y>
</Location>
<Plug>
<BlockConnector con-block-id="718" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="719">
<Label>PPM</Label>
<Location>
<X>596</X>
<Y>1942</Y>
</Location>
<Plug>
<BlockConnector con-block-id="718" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine-ref" id="708">
<Label>setzeGruen</Label>
<Location>
<X>395</X>
<Y>1900</Y>
</Location>
<BeforeBlockId>704</BeforeBlockId>
</Block>
<Block genus-name="and" id="709">
<Location>
<X>398</X>
<Y>1839</Y>
</Location>
<Plug>
<BlockConnector con-block-id="704" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="single"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="713" connector-kind="socket" connector-type="boolean" init-type="boolean" label="" position-type="single"/>
<BlockConnector con-block-id="705" connector-kind="socket" connector-type="boolean" init-type="boolean" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="less" id="705">
<Location>
<X>452</X>
<Y>1867</Y>
</Location>
<Plug>
<BlockConnector con-block-id="709" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="706" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="730" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="730">
<Label>mittlereLuft</Label>
<Location>
<X>555</X>
<Y>1870</Y>
</Location>
<Plug>
<BlockConnector con-block-id="705" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="706">
<Label>PPM</Label>
<Location>
<X>462</X>
<Y>1870</Y>
</Location>
<Plug>
<BlockConnector con-block-id="705" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="greater_equal" id="713">
<Location>
<X>452</X>
<Y>1839</Y>
</Location>
<Plug>
<BlockConnector con-block-id="709" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="714" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="715" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="715">
<Label>ATMOCO2</Label>
<Location>
<X>562</X>
<Y>1842</Y>
</Location>
<Plug>
<BlockConnector con-block-id="713" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="714">
<Label>PPM</Label>
<Location>
<X>462</X>
<Y>1842</Y>
</Location>
<Plug>
<BlockConnector con-block-id="713" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="subroutine-ref" id="703">
<Label>setzeBlau</Label>
<Location>
<X>261</X>
<Y>1800</Y>
</Location>
<BeforeBlockId>699</BeforeBlockId>
</Block>
<Block genus-name="less" id="700">
<Location>
<X>264</X>
<Y>1767</Y>
</Location>
<Plug>
<BlockConnector con-block-id="699" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
</Plug>
<Sockets num-sockets="2">
<BlockConnector con-block-id="701" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
<BlockConnector con-block-id="702" connector-kind="socket" connector-type="number" init-type="number" label="" position-type="bottom"/>
</Sockets>
</Block>
<Block genus-name="variable_number" id="702">
<Label>ATMOCO2</Label>
<Location>
<X>367</X>
<Y>1770</Y>
</Location>
<Plug>
<BlockConnector con-block-id="700" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="variable_number" id="701">
<Label>PPM</Label>
<Location>
<X>274</X>
<Y>1770</Y>
</Location>
<Plug>
<BlockConnector con-block-id="700" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="698">
<Label>Setzen der LED-Farbe, je nach CO2 Konzentration</Label>
<Location>
<X>286</X>
<Y>1737</Y>
</Location>
<Plug>
<BlockConnector con-block-id="697" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="736">
<Label>Serial.println(PPM);</Label>
<Location>
<X>252</X>
<Y>1707</Y>
</Location>
<Plug>
<BlockConnector con-block-id="735" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="734">
<Label>Sende den PPM-Wert ueber die serielle Schnittstelle</Label>
<Location>
<X>286</X>
<Y>1677</Y>
</Location>
<Plug>
<BlockConnector con-block-id="733" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="694">
<Label>die (ungenaue) CO2-Konzentration wird berechnet</Label>
<Location>
<X>286</X>
<Y>1623</Y>
</Location>
<Plug>
<BlockConnector con-block-id="693" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="692">
<Label>Der Sensor wird nur kalibriert, wenn der Widerstandswert unter den der atmosphrischen CO2-Konzentration faellt</Label>
<Location>
<X>286</X>
<Y>1569</Y>
</Location>
<Plug>
<BlockConnector con-block-id="691" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="689">
<Label>Zunchst wird der durchschnittliche Sensorwert abgefragt</Label>
<Location>
<X>286</X>
<Y>1515</Y>
</Location>
<Plug>
<BlockConnector con-block-id="688" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="code_comment" id="671">
<Location>
<X>127</X>
<Y>1381</Y>
</Location>
<BeforeBlockId>304</BeforeBlockId>
<AfterBlockId>673</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="672" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_loop" id="673">
<Location>
<X>127</X>
<Y>1411</Y>
</Location>
<BeforeBlockId>671</BeforeBlockId>
<AfterBlockId>675</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="674" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="code_comment" id="675">
<Location>
<X>127</X>
<Y>1441</Y>
</Location>
<BeforeBlockId>673</BeforeBlockId>
<AfterBlockId>679</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="676" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="serial_begin" id="679">
<Location>
<X>127</X>
<Y>1471</Y>
</Location>
<BeforeBlockId>675</BeforeBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="680" connector-kind="socket" connector-type="number" init-type="number" label="Baud" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="680">
<Label>9600</Label>
<Location>
<X>265</X>
<Y>1474</Y>
</Location>
<Plug>
<BlockConnector con-block-id="679" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="676">
<Label>Serielle Schnittstelle initialisieren</Label>
<Location>
<X>287</X>
<Y>1444</Y>
</Location>
<Plug>
<BlockConnector con-block-id="675" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="674">
<Label>for (int dieseMessung = 0; dieseMessung &lt; anzahlMessungen; dieseMessung++) {     messungen[dieseMessung] = 0;  }</Label>
<Location>
<X>253</X>
<Y>1414</Y>
</Location>
<Plug>
<BlockConnector con-block-id="673" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="672">
<Label>Array zur Berechnung der Durchschnittswerte mit nullen befllen</Label>
<Location>
<X>287</X>
<Y>1384</Y>
</Location>
<Plug>
<BlockConnector con-block-id="671" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="code_comment_head" id="313">
<Location>
<X>128</X>
<Y>200</Y>
</Location>
<BeforeBlockId>304</BeforeBlockId>
<AfterBlockId>904</AfterBlockId>
<Sockets num-sockets="1">
<BlockConnector con-block-id="314" connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="string" id="314">
<Label>Grenzwerte</Label>
<Location>
<X>428</X>
<Y>203</Y>
</Location>
<Plug>
<BlockConnector con-block-id="313" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="program_comment" id="65">
<Location>
<X>13</X>
<Y>9</Y>
</Location>
<Sockets num-sockets="7">
<BlockConnector con-block-id="66" connector-kind="socket" connector-type="string" init-type="string" label="Dateiname" position-type="single"/>
<BlockConnector con-block-id="67" connector-kind="socket" connector-type="string" init-type="string" label="Autor" position-type="single"/>
<BlockConnector con-block-id="68" connector-kind="socket" connector-type="string" init-type="string" label="Beschreibung" position-type="single"/>
<BlockConnector connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
<BlockConnector connector-kind="socket" connector-type="string" init-type="string" label="" position-type="single"/>
<BlockConnector con-block-id="69" connector-kind="socket" connector-type="string" init-type="string" label="Datum" position-type="single"/>
<BlockConnector con-block-id="70" connector-kind="socket" connector-type="number" init-type="number" label="Version" position-type="single"/>
</Sockets>
</Block>
<Block genus-name="number" id="70">
<Label>0.1</Label>
<Location>
<X>199</X>
<Y>156</Y>
</Location>
<Plug>
<BlockConnector con-block-id="65" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="69">
<Label>15.01.2021</Label>
<Location>
<X>199</X>
<Y>132</Y>
</Location>
<Plug>
<BlockConnector con-block-id="65" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="68">
<Label>Messung der Gte der Raumluft und Ausgabe ber eine RGB-LED</Label>
<Location>
<X>199</X>
<Y>60</Y>
</Location>
<Plug>
<BlockConnector con-block-id="65" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="67">
<Label>Samuel Greiner</Label>
<Location>
<X>199</X>
<Y>36</Y>
</Location>
<Plug>
<BlockConnector con-block-id="65" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
<Block genus-name="string" id="66">
<Label>Raumluft-Ampel</Label>
<Location>
<X>199</X>
<Y>12</Y>
</Location>
<Plug>
<BlockConnector con-block-id="65" connector-kind="plug" connector-type="string" init-type="string" label="" position-type="mirror"/>
</Plug>
</Block>
</PageBlocks>
</Page>
</Pages>
</cb:CODEBLOCKS>
