Skip to content

Commit 8aaf66a

Browse files
authored
Update README.md
1 parent 2ad85dd commit 8aaf66a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Create an HTML file called `index.html`. Add the following code:
1818
var socket = io();
1919

2020
socket.on('data', function(data) {
21-
console.log(data);
22-
document.getElementById('sample').style.opacity = data/100+"%";
21+
console.log(data);
22+
document.getElementById('sample').style.opacity = data+"%";
2323
});
2424

2525
</script>
@@ -163,9 +163,9 @@ You will need to setup the following circuit using your Arduino:
163163

164164
## Launch Application
165165

166-
1. Using the Terminal start your Node.js app using `node app.js`.
167-
2. Open up a browser and enter the URL `http://localhost:3000/`.
168-
3. Using [Arduino Create](https://create.arduino.cc/editor) upload the sketch to your Arduino.
166+
1. Using [Arduino Create](https://create.arduino.cc/editor) upload the sketch to your Arduino.
167+
2. Using the Terminal start your Node.js app using `node app.js`.
168+
3. Open up a browser and enter the URL `http://localhost:3000/`.
169169
4. Turn the dial on the Arduino device and watch the red square in the browser.t.
170170

171171
## Tutorial Requirements:

0 commit comments

Comments
 (0)