This commit is contained in:
Karl Hudgell 2016-12-01 15:44:21 +00:00
parent b6acd06d11
commit 28dba0000e

View File

@ -79,15 +79,15 @@ for ($count = 1; $count < sizeof($diskfree); $count ++) {
//Read in RGB file //Read in RGB file
$file = file_get_contents('/home/pi/hugh/rgb', FILE_USE_INCLUDE_PATH); $file = file_get_contents('/home/pi/hugh/rgb', FILE_USE_INCLUDE_PATH);
// if ($file = "0, 0, 0") { if ($file == "0, 0, 0") {
// $rgb = "off"; $rgb = "off";
// } elseif ($file = "255, 0, 0") { } elseif ($file == "255, 0, 0") {
// $rgb = "red"; $rgb = "red";
// } elseif ($file = "0, 255, 0") { } elseif ($file == "0, 255, 0") {
// $rgb = "green"; $rgb = "green";
// } elseif ($file = "0, 0, 255") { } elseif ($file == "0, 0, 255") {
// $rgb = "blue"; $rgb = "blue";
// } }
// Rendering Page. // Rendering Page.
?><!DOCTYPE html> ?><!DOCTYPE html>