This commit is contained in:
Karl Hudgell 2016-12-01 14:51:59 +00:00
parent a26ab85044
commit e114201cc9

View File

@ -85,10 +85,10 @@ $file = file_get_contents('/home/pi/hugh/rgb', FILE_USE_INCLUDE_PATH);
$rgb = "Red";
} else if ($file > "0, 255, 0") {
$rgb = "Green";
else if ($file > "0, 0, 255") {
} else if ($file > "0, 0, 255") {
$rgb = "Blue";
}
}
// Rendering Page.
?><!DOCTYPE html>