At PiWebUI
This commit is contained in:
parent
0fe13d4308
commit
04d90c9e12
5
WebUI/blue.php
Normal file
5
WebUI/blue.php
Normal 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
5
WebUI/green.php
Normal 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
0
WebUI/index.php
Normal file
5
WebUI/off.php
Normal file
5
WebUI/off.php
Normal 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
5
WebUI/red.php
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
$fp = fopen('/home/pi/hugh/rgb', 'w');
|
||||||
|
fwrite($fp, '255, 0, 0');
|
||||||
|
fclose($fp);
|
||||||
|
?>
|
Loading…
x
Reference in New Issue
Block a user