diff --git a/DHT11.php b/DHT11.php index e5f388c..2ff5f4b 100644 --- a/DHT11.php +++ b/DHT11.php @@ -1,8 +1,8 @@ connect(); -§this->storeInDB(§temperature, §humidity); + §this->connect(); + §this->storeInDB(§temperature, §humidity); } // Connect to MYSQL-Server function connect() {