Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
fix mismatch protocol
  • Loading branch information
playelek authored Apr 6, 2017
1 parent a6d5eb9 commit f02e45e
Show file tree
Hide file tree
Showing 2 changed files with 273 additions and 273 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Nodemcu Control</title>
<title>Nodemcu Control V1.0</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
</head>
<body>
Expand Down Expand Up @@ -39,7 +39,7 @@ <h4>SERVOS</h4>
var x = document.getElementById("led1").checked;
var y = document.getElementById("servo1").value;
var z = document.getElementById("servo2").value;
var URL = "/node/?led1="+ x +"&servo1="+ y +"&servo2="+ z;
var URL = "/led1="+ x +"$servo1="+ y +"$servo2="+ z + "$";
ajax.open("GET", URL);
ajax.send(null);
}
Expand Down
Loading

0 comments on commit f02e45e

Please sign in to comment.