Dr. Arne Jachens

Set up the Raspberry Pi

no warranty for any of the provided information

Keine Erläuterungen gefunden.

<?php
function HV_H2Olevel($fname,$today){
  if (file_exists($fname)) {
    $fid = fopen($fname, "r");
    $line = fgets( $fid, 1024 );
    $val = explode("\t",$line);
    fclose($fid);
    if($val[0]==$today){
      $H2Olevel = 1*$val[1];
    }else{
      $H2Olevel = 0;
    }
  }else{
    printf("FILE ".$fname." DOES NOT EXIST!\N");
  }
  return $H2Olevel;
}
?>

python

1HvcControl.py
2HvcHCSR04ultrasonic.py
3HvcMain.py
4HvcMotorDriver.py
5HvcOneWire.py
6HvcOperationMode.py
7HvcRaw2phys.py
8HvcReadSPI.py
9HvcSendI2C.py
10HvcSetGPIO.py
11HvcTables.py
12HvcWeather.py
13makeDoc.py

php

1HV_Admin_Login.php
2HV_colorMap.php
3HV_composeH2Oplot.php
4HV_config.php
5HV_H2Olevel.php
6HV_readOperationState.php
7HV_restart.php
8HV_serviceLog.php
9HV_setParameters.php
10HV_showHouse.php
11HV_showLog.php
12HV_showWeatherForecast.php
13HV_TempCal.php
14index.php
15readFilenames.php
16readNamedData.php

Der gesamte Sourcecode darf gemäß GNU General Public License weiterverbreitet werden.