aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-02-20 20:14:38 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-02-20 20:14:38 +0100
commit8d4be06944866d6d8a2dddff16025f590b03765d (patch)
tree99e4c41f7a779960ce4a4a3d83ccbfc3271202dc
parenta58d3bc6761f94308cd1e21ba29c7d746ba15939 (diff)
Some slides
-rw-r--r--code/001-blink.js5
-rw-r--r--code/002-button.js7
-rw-r--r--slides/Makefile1
-rw-r--r--slides/img/all2.jpgbin0 -> 615383 bytes
-rw-r--r--slides/img/blink_block.pngbin0 -> 51170 bytes
-rw-r--r--slides/img/blink_text.pngbin0 -> 25272 bytes
-rw-r--r--slides/img/button.pngbin0 -> 21903 bytes
-rw-r--r--slides/img/espruino_full_logo.pngbin0 -> 53898 bytes
-rw-r--r--slides/img/interactive_led.pngbin0 -> 16786 bytes
-rw-r--r--slides/img/other_boards.pngbin0 -> 104205 bytes
-rw-r--r--slides/img/parts_side.jpgbin0 -> 216647 bytes
-rw-r--r--slides/img/web_ide.pngbin0 -> 32497 bytes
-rw-r--r--slides/presentazione_espruino.rst73
13 files changed, 77 insertions, 9 deletions
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
diff --git a/code/002-button.js b/code/002-button.js
new file mode 100644
index 0000000..e98ace2
--- /dev/null
+++ b/code/002-button.js
@@ -0,0 +1,7 @@
+var on = false;
+var change = function() {
+ on = !on;
+ LED1.write(on);
+ };
+
+setWatch(change, BTN1, {repeat:true, edge:"rising"}); \ No newline at end of file
diff --git a/slides/Makefile b/slides/Makefile
index 5618848..3749d61 100644
--- a/slides/Makefile
+++ b/slides/Makefile
@@ -3,6 +3,7 @@ all: build/presentazione_espruino.pdf
build/presentazione_espruino.pdf: presentazione_espruino.rst
mkdir -p build
pandoc --listings -t beamer --latex-engine=xelatex \
+ -V navigation=horizontal \
-o build/presentazione_espruino.pdf \
presentazione_espruino.rst
diff --git a/slides/img/all2.jpg b/slides/img/all2.jpg
new file mode 100644
index 0000000..b47a00e
--- /dev/null
+++ b/slides/img/all2.jpg
Binary files differ
diff --git a/slides/img/blink_block.png b/slides/img/blink_block.png
new file mode 100644
index 0000000..78fd8ed
--- /dev/null
+++ b/slides/img/blink_block.png
Binary files differ
diff --git a/slides/img/blink_text.png b/slides/img/blink_text.png
new file mode 100644
index 0000000..4c5ca23
--- /dev/null
+++ b/slides/img/blink_text.png
Binary files differ
diff --git a/slides/img/button.png b/slides/img/button.png
new file mode 100644
index 0000000..8895c7b
--- /dev/null
+++ b/slides/img/button.png
Binary files differ
diff --git a/slides/img/espruino_full_logo.png b/slides/img/espruino_full_logo.png
new file mode 100644
index 0000000..ee3627b
--- /dev/null
+++ b/slides/img/espruino_full_logo.png
Binary files differ
diff --git a/slides/img/interactive_led.png b/slides/img/interactive_led.png
new file mode 100644
index 0000000..7919b12
--- /dev/null
+++ b/slides/img/interactive_led.png
Binary files differ
diff --git a/slides/img/other_boards.png b/slides/img/other_boards.png
new file mode 100644
index 0000000..978eb76
--- /dev/null
+++ b/slides/img/other_boards.png
Binary files differ
diff --git a/slides/img/parts_side.jpg b/slides/img/parts_side.jpg
new file mode 100644
index 0000000..b1fda75
--- /dev/null
+++ b/slides/img/parts_side.jpg
Binary files differ
diff --git a/slides/img/web_ide.png b/slides/img/web_ide.png
new file mode 100644
index 0000000..1fa4650
--- /dev/null
+++ b/slides/img/web_ide.png
Binary files differ
diff --git a/slides/presentazione_espruino.rst b/slides/presentazione_espruino.rst
index 0c2b1a9..cd23619 100644
--- a/slides/presentazione_espruino.rst
+++ b/slides/presentazione_espruino.rst
@@ -33,6 +33,7 @@ Cos'è Espruino
* Interprete javascript per microcontrollori
* IDE integrata nel browser
* Comunità: http://forum.espruino.com/
+* Open Hardware e Free Software
Free Software
-------------
@@ -46,31 +47,85 @@ Open Hardware
.. image:: img/oshw-logo-400-px.png
:align: center
-Alcune schede
--------------
+Famiglia di schede: espruino ed espruino pico
+---------------------------------------------
+
+.. image:: img/all2.jpg
+ :align: center
+
+http://www.espruino.com/press/
+
+Famiglia di schede: puck.js
+---------------------------
+
+.. image:: img/parts_side.jpg
+ :align: center
+
+http://www.espruino.com/press/
+
+Interprete javascript
+---------------------
+
+* ~ 95% compatibile con javascript “normale”
+* su schede a partire da 128kB Flash 8kB RAM
+* microcontrollori 32 bit:
+
+ - ARM Cortex-M3
+ - ARM Cortex-M4
+ - ESP8266
+
+Su altre schede
+---------------
-.. inserire foto degli espruini che ho
+.. image:: img/other_boards.png
+ :align: center
+
+Rispetto ad Arduino?
+--------------------
+ * Consumi minimi (di default)
+ * Esplorazione interattiva
+ * Facilità di scrittura di task paralleli
+ * Linguaggio versatile
Applicazione per Chrom(e|ium)
-----------------------------
-.. Inserire screenshot delle chromium apps
+http://www.espruino.com/Web+IDE
+https://chrome.google.com/webstore/detail/espruino-web-ide/bleoifhkdalbjfbobjackfdifdneehpo
IDE
---
-.. Screenshot dell'IDE vuota
+.. image:: img/web_ide.png
+ :align: center
+
+Uso interattivo
+---------------
+
+.. image:: img/interactive_led.png
+ :align: center
IDE a blocchi
-------------
-.. Screenshot dell'IDE a blocchi con un blink
+.. image:: img/blink_block.png
+ :align: center
+
+Blink, seconda versione
+-----------------------
+
+.. image:: img/blink_text.png
+ :align: center
+
+Bottoni
+-------
-Caricamento
------------
+.. image:: img/button.png
+ :align: center
-.. ? (caricamento sull'espruino? foto dell'espruino con un led acceso?)
+Basi di javascript
+------------------
Domande?
--------