At PiWebUI

This commit is contained in:
Karl 2016-11-29 10:42:10 +00:00
parent 0fe13d4308
commit 04d90c9e12
5 changed files with 20 additions and 0 deletions

5
WebUI/blue.php Normal file
View File

@ -0,0 +1,5 @@
<?php
$fp = fopen('/home/pi/hugh/rgb', 'w');
fwrite($fp, '0, 0, 255');
fclose($fp);
?>

5
WebUI/green.php Normal file
View File

@ -0,0 +1,5 @@
<?php
$fp = fopen('/home/pi/hugh/rgb', 'w');
fwrite($fp, '0, 255, 0');
fclose($fp);
?>

0
WebUI/index.php Normal file
View File

5
WebUI/off.php Normal file
View File

@ -0,0 +1,5 @@
<?php
$fp = fopen('/home/pi/hugh/rgb', 'w');
fwrite($fp, '0, 0, 0');
fclose($fp);
?>

5
WebUI/red.php Normal file
View File

@ -0,0 +1,5 @@
<?php
$fp = fopen('/home/pi/hugh/rgb', 'w');
fwrite($fp, '255, 0, 0');
fclose($fp);
?>