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 +++ code/002-button.js | 7 ++++ slides/Makefile | 1 + slides/img/all2.jpg | Bin 0 -> 615383 bytes slides/img/blink_block.png | Bin 0 -> 51170 bytes slides/img/blink_text.png | Bin 0 -> 25272 bytes slides/img/button.png | Bin 0 -> 21903 bytes slides/img/espruino_full_logo.png | Bin 0 -> 53898 bytes slides/img/interactive_led.png | Bin 0 -> 16786 bytes slides/img/other_boards.png | Bin 0 -> 104205 bytes slides/img/parts_side.jpg | Bin 0 -> 216647 bytes slides/img/web_ide.png | Bin 0 -> 32497 bytes slides/presentazione_espruino.rst | 73 +++++++++++++++++++++++++++++++++----- 13 files changed, 77 insertions(+), 9 deletions(-) create mode 100644 code/001-blink.js create mode 100644 code/002-button.js create mode 100644 slides/img/all2.jpg create mode 100644 slides/img/blink_block.png create mode 100644 slides/img/blink_text.png create mode 100644 slides/img/button.png create mode 100644 slides/img/espruino_full_logo.png create mode 100644 slides/img/interactive_led.png create mode 100644 slides/img/other_boards.png create mode 100644 slides/img/parts_side.jpg create mode 100644 slides/img/web_ide.png 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 Binary files /dev/null and b/slides/img/all2.jpg differ diff --git a/slides/img/blink_block.png b/slides/img/blink_block.png new file mode 100644 index 0000000..78fd8ed Binary files /dev/null and b/slides/img/blink_block.png differ diff --git a/slides/img/blink_text.png b/slides/img/blink_text.png new file mode 100644 index 0000000..4c5ca23 Binary files /dev/null and b/slides/img/blink_text.png differ diff --git a/slides/img/button.png b/slides/img/button.png new file mode 100644 index 0000000..8895c7b Binary files /dev/null and b/slides/img/button.png differ diff --git a/slides/img/espruino_full_logo.png b/slides/img/espruino_full_logo.png new file mode 100644 index 0000000..ee3627b Binary files /dev/null and b/slides/img/espruino_full_logo.png differ diff --git a/slides/img/interactive_led.png b/slides/img/interactive_led.png new file mode 100644 index 0000000..7919b12 Binary files /dev/null and b/slides/img/interactive_led.png differ diff --git a/slides/img/other_boards.png b/slides/img/other_boards.png new file mode 100644 index 0000000..978eb76 Binary files /dev/null and b/slides/img/other_boards.png differ diff --git a/slides/img/parts_side.jpg b/slides/img/parts_side.jpg new file mode 100644 index 0000000..b1fda75 Binary files /dev/null and b/slides/img/parts_side.jpg differ diff --git a/slides/img/web_ide.png b/slides/img/web_ide.png new file mode 100644 index 0000000..1fa4650 Binary files /dev/null and b/slides/img/web_ide.png 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? -------- -- cgit v1.2.3