|
@ -7,10 +7,11 @@ |
|
|
<link rel="stylesheet" href="styles.css"> |
|
|
<link rel="stylesheet" href="styles.css"> |
|
|
</head> |
|
|
</head> |
|
|
<?php |
|
|
<?php |
|
|
//exec('gpio mode 7 out') |
|
|
exec('gpio mode 7 out'); |
|
|
//exec('gpio mode 0 out') |
|
|
exec('gpio mode 0 out'); |
|
|
//exec('gpio mode 2 out') |
|
|
exec('gpio mode 2 out'); |
|
|
//exec('gpio mode 3 out') |
|
|
exec('gpio mode 3 out'); |
|
|
|
|
|
|
|
|
if ($_SERVER["REQUEST_METHOD"] == "POST") { |
|
|
if ($_SERVER["REQUEST_METHOD"] == "POST") { |
|
|
if (isset($_POST['lumiere'])) { |
|
|
if (isset($_POST['lumiere'])) { |
|
|
$lumiere = $_POST['lumiere']; |
|
|
$lumiere = $_POST['lumiere']; |
|
|