diff options
-rw-r--r-- | code/001-blink.js | 5 | ||||
-rw-r--r-- | code/002-button.js | 7 | ||||
-rw-r--r-- | slides/Makefile | 1 | ||||
-rw-r--r-- | slides/img/all2.jpg | bin | 0 -> 615383 bytes | |||
-rw-r--r-- | slides/img/blink_block.png | bin | 0 -> 51170 bytes | |||
-rw-r--r-- | slides/img/blink_text.png | bin | 0 -> 25272 bytes | |||
-rw-r--r-- | slides/img/button.png | bin | 0 -> 21903 bytes | |||
-rw-r--r-- | slides/img/espruino_full_logo.png | bin | 0 -> 53898 bytes | |||
-rw-r--r-- | slides/img/interactive_led.png | bin | 0 -> 16786 bytes | |||
-rw-r--r-- | slides/img/other_boards.png | bin | 0 -> 104205 bytes | |||
-rw-r--r-- | slides/img/parts_side.jpg | bin | 0 -> 216647 bytes | |||
-rw-r--r-- | slides/img/web_ide.png | bin | 0 -> 32497 bytes | |||
-rw-r--r-- | slides/presentazione_espruino.rst | 73 |
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 Binary files differnew file mode 100644 index 0000000..b47a00e --- /dev/null +++ b/slides/img/all2.jpg diff --git a/slides/img/blink_block.png b/slides/img/blink_block.png Binary files differnew file mode 100644 index 0000000..78fd8ed --- /dev/null +++ b/slides/img/blink_block.png diff --git a/slides/img/blink_text.png b/slides/img/blink_text.png Binary files differnew file mode 100644 index 0000000..4c5ca23 --- /dev/null +++ b/slides/img/blink_text.png diff --git a/slides/img/button.png b/slides/img/button.png Binary files differnew file mode 100644 index 0000000..8895c7b --- /dev/null +++ b/slides/img/button.png diff --git a/slides/img/espruino_full_logo.png b/slides/img/espruino_full_logo.png Binary files differnew file mode 100644 index 0000000..ee3627b --- /dev/null +++ b/slides/img/espruino_full_logo.png diff --git a/slides/img/interactive_led.png b/slides/img/interactive_led.png Binary files differnew file mode 100644 index 0000000..7919b12 --- /dev/null +++ b/slides/img/interactive_led.png diff --git a/slides/img/other_boards.png b/slides/img/other_boards.png Binary files differnew file mode 100644 index 0000000..978eb76 --- /dev/null +++ b/slides/img/other_boards.png diff --git a/slides/img/parts_side.jpg b/slides/img/parts_side.jpg Binary files differnew file mode 100644 index 0000000..b1fda75 --- /dev/null +++ b/slides/img/parts_side.jpg diff --git a/slides/img/web_ide.png b/slides/img/web_ide.png Binary files differnew file mode 100644 index 0000000..1fa4650 --- /dev/null +++ b/slides/img/web_ide.png 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? -------- |