From 8d4be06944866d6d8a2dddff16025f590b03765d Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Mon, 20 Feb 2017 20:14:38 +0100 Subject: Some slides --- code/001-blink.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 code/001-blink.js (limited to 'code/001-blink.js') diff --git a/code/001-blink.js b/code/001-blink.js new file mode 100644 index 0000000..408aeb4 --- /dev/null +++ b/code/001-blink.js @@ -0,0 +1,5 @@ +var on = false; +setInterval(function() { + on = !on; + LED1.write(on); +}, 500); \ No newline at end of file -- cgit v1.2.3