<!DOCTYPE html>
<html>
<head>
<title>Pi CPU Temperature</title>
<meta http-equiv="refresh" content="10">
<style type="text/css">
body {
background-image: url("bgimg.jpg");
font-family: arial, sans-serif;
color: #00FF00;
font-size: 150px;
text-align: center;
font-weight: bold;
margin-top: 25%;
}
</style>
</head>
<body>
<?php
exec("cat /sys/class/thermal/thermal_zone0/temp", $outarray);
$temperature = $outarray[0]/1000*9/5+32;
echo round($temperature, 1);?>&deg;F
</body>
</html>
Enjoy the site? All donations are appreciated

Free Text Host is brought to you by Dagon Design
This site contains no adware, spyware, or popups
Questions? Comments?     Privacy Policy     Report abuse here