• I am using the UART.js library and iskraJS microcontroller .
    Espruino Web IDE is used to program this microcontroller

    document.body.onclick =  function()
    	{
    		UART.connect(
    			function(connection) 
    			{
    			    if (!connection) throw "Error!";
    			    connection.write("var on = false;setInterval(function() {on = !on;LED1.write(on);}, 5000);", function(){ });
    		  	}
    		)
    	}
    
About

Avatar for user149415 @user149415 started