Do you see Developer Console icon on cloud home screen? If yes then it might be the control panel. I am not too sure about it but it appears in that way for older versions. For me also it is the same.
Hi ,
You can create your own custom function to read sensor data.
<html>
<head>
<script type="text/javascript" src="/serveFile?filename=bolt.js"> </script>
</head>
<button onlick="digitalReadCustom(4,'output')"> Read sesor data</button>
<span id="ouput"> </span>
<script>
function digitalReadCustom(pin,element_id) {
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
var obj = JSON.parse(xmlhttp.responseText);
if(obj.success=="1")
{
document.getElementById(element_id).innerHTML = "Pin Val = "+obj.value;
if ( obj.value==0){
digitalWrite(5, 'HIGH');
}
else{
digitalWrite(5, 'LOW');
}
}
else{
document.getElementById(element_id).innerHTML = "Error = "+xmlhttp.responseText;
return "Error Occured";
}
}
};
xmlhttp.open("GET","/digitalRead?pin="+pin,true);
xmlhttp.send();
}
</script>
</html>
Sorry , I was intending to answer another question but answered this.