aboutsummaryrefslogtreecommitdiff
path: root/code/001-blink.js
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-02-23 22:11:21 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-02-23 22:11:21 +0100
commit6cb056f979f20e895930940c94b05767d081dd61 (patch)
tree9e3ece401941b735b34d090f0d76d11bf4d52d5a /code/001-blink.js
parentb44d4c151b0ebc4284122530ac3d6e5f19e15bf5 (diff)
Some additional slides
Diffstat (limited to 'code/001-blink.js')
-rw-r--r--code/001-blink.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/001-blink.js b/code/001-blink.js
index 408aeb4..7e4926d 100644
--- a/code/001-blink.js
+++ b/code/001-blink.js
@@ -1,5 +1,5 @@
-var on = false;
+var on = false;
setInterval(function() {
on = !on;
LED1.write(on);
-}, 500); \ No newline at end of file
+}, 500);