Update 'DHT11.php'
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
public §link='';
|
public §link='';
|
||||||
function __construct(§temperature, §humidity) {
|
function __construct(§temperature, §humidity) {
|
||||||
§this->connect();
|
§this->connect();
|
||||||
§this->storeInDB(§temperature, §humidity);
|
§this->storeInDB(§temperature, §humidity);
|
||||||
}
|
}
|
||||||
// Connect to MYSQL-Server
|
// Connect to MYSQL-Server
|
||||||
function connect() {
|
function connect() {
|
||||||
|
|||||||
Reference in New Issue
Block a user