diff --git a/analoginput.php b/analoginput.php index c7143bd..80f35e5 100644 --- a/analoginput.php +++ b/analoginput.php @@ -36,7 +36,7 @@ $( document ).ready(function() { function inputblock($number, $pin){ echo ""; echo "
"; - echo "
"; + echo "
"; $command = "cat /sys/bus/iio/devices/iio:device0/in_voltage{$pin}_raw 2>&1"; $value = exec($command); echo "
"; diff --git a/input.php b/input.php index 4b1f32a..007dbd6 100644 --- a/input.php +++ b/input.php @@ -8,7 +8,7 @@ $( document ).ready(function() { inputstatus.onmessage = function(event) { obj = JSON.parse(event.data); for (i = 0; i < 8; i++) { - htmlcode = "
"; + htmlcode = "
"; if (obj[i] == "1"){ htmlcode = htmlcode + "
"; }else if(obj[i] == "0"){ diff --git a/relay.php b/relay.php index 2d8cf71..3d728d6 100644 --- a/relay.php +++ b/relay.php @@ -14,7 +14,7 @@ $( document ).ready(function() { relaystatus.onmessage = function(event) { obj = JSON.parse(event.data); for (i = 0; i < 8; i++) { - htmlcode = "
"; + htmlcode = "
"; if (obj[i] == "0"){ htmlcode = htmlcode + "
"; }else if(obj[i] == "1"){