From 76425b392892ac3f8839c4ea743221257222490c Mon Sep 17 00:00:00 2001 From: Karl Hudgell Date: Thu, 1 Dec 2016 15:45:44 +0000 Subject: [PATCH] yes rob --- index.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index 9e2e30a..e8d6b86 100644 --- a/index.php +++ b/index.php @@ -80,13 +80,13 @@ for ($count = 1; $count < sizeof($diskfree); $count ++) { $file = file_get_contents('/home/pi/hugh/rgb', FILE_USE_INCLUDE_PATH); if ($file == "0, 0, 0") { - $rgb = "off"; + $rgb = "Off"; } elseif ($file == "255, 0, 0") { - $rgb = "red"; + $rgb = "Red"; } elseif ($file == "0, 255, 0") { - $rgb = "green"; + $rgb = "Green"; } elseif ($file == "0, 0, 255") { - $rgb = "blue"; + $rgb = "Blue"; } // Rendering Page. @@ -180,7 +180,7 @@ $file = file_get_contents('/home/pi/hugh/rgb', FILE_USE_INCLUDE_PATH);
-

Desk Colour - ()

+

Desk Colour -