]> git.piffa.net Git - scratch/blob - README.html
Analog input
[scratch] / README.html
1 <?xml version="1.0" encoding="utf-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
7 <title></title>
8 <style type="text/css">
9
10 /*
11 :Author: David Goodger (goodger@python.org)
12 :Id: $Id: html4css1.css 7614 2013-02-21 15:55:51Z milde $
13 :Copyright: This stylesheet has been placed in the public domain.
14
15 Default cascading style sheet for the HTML output of Docutils.
16
17 See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
18 customize this style sheet.
19 */
20
21 /* used to remove borders from tables and images */
22 .borderless, table.borderless td, table.borderless th {
23   border: 0 }
24
25 table.borderless td, table.borderless th {
26   /* Override padding for "table.docutils td" with "! important".
27      The right padding separates the table cells. */
28   padding: 0 0.5em 0 0 ! important }
29
30 .first {
31   /* Override more specific margin styles with "! important". */
32   margin-top: 0 ! important }
33
34 .last, .with-subtitle {
35   margin-bottom: 0 ! important }
36
37 .hidden {
38   display: none }
39
40 a.toc-backref {
41   text-decoration: none ;
42   color: black }
43
44 blockquote.epigraph {
45   margin: 2em 5em ; }
46
47 dl.docutils dd {
48   margin-bottom: 0.5em }
49
50 object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
51   overflow: hidden;
52 }
53
54 /* Uncomment (and remove this text!) to get bold-faced definition list terms
55 dl.docutils dt {
56   font-weight: bold }
57 */
58
59 div.abstract {
60   margin: 2em 5em }
61
62 div.abstract p.topic-title {
63   font-weight: bold ;
64   text-align: center }
65
66 div.admonition, div.attention, div.caution, div.danger, div.error,
67 div.hint, div.important, div.note, div.tip, div.warning {
68   margin: 2em ;
69   border: medium outset ;
70   padding: 1em }
71
72 div.admonition p.admonition-title, div.hint p.admonition-title,
73 div.important p.admonition-title, div.note p.admonition-title,
74 div.tip p.admonition-title {
75   font-weight: bold ;
76   font-family: sans-serif }
77
78 div.attention p.admonition-title, div.caution p.admonition-title,
79 div.danger p.admonition-title, div.error p.admonition-title,
80 div.warning p.admonition-title, .code .error {
81   color: red ;
82   font-weight: bold ;
83   font-family: sans-serif }
84
85 /* Uncomment (and remove this text!) to get reduced vertical space in
86    compound paragraphs.
87 div.compound .compound-first, div.compound .compound-middle {
88   margin-bottom: 0.5em }
89
90 div.compound .compound-last, div.compound .compound-middle {
91   margin-top: 0.5em }
92 */
93
94 div.dedication {
95   margin: 2em 5em ;
96   text-align: center ;
97   font-style: italic }
98
99 div.dedication p.topic-title {
100   font-weight: bold ;
101   font-style: normal }
102
103 div.figure {
104   margin-left: 2em ;
105   margin-right: 2em }
106
107 div.footer, div.header {
108   clear: both;
109   font-size: smaller }
110
111 div.line-block {
112   display: block ;
113   margin-top: 1em ;
114   margin-bottom: 1em }
115
116 div.line-block div.line-block {
117   margin-top: 0 ;
118   margin-bottom: 0 ;
119   margin-left: 1.5em }
120
121 div.sidebar {
122   margin: 0 0 0.5em 1em ;
123   border: medium outset ;
124   padding: 1em ;
125   background-color: #ffffee ;
126   width: 40% ;
127   float: right ;
128   clear: right }
129
130 div.sidebar p.rubric {
131   font-family: sans-serif ;
132   font-size: medium }
133
134 div.system-messages {
135   margin: 5em }
136
137 div.system-messages h1 {
138   color: red }
139
140 div.system-message {
141   border: medium outset ;
142   padding: 1em }
143
144 div.system-message p.system-message-title {
145   color: red ;
146   font-weight: bold }
147
148 div.topic {
149   margin: 2em }
150
151 h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
152 h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
153   margin-top: 0.4em }
154
155 h1.title {
156   text-align: center }
157
158 h2.subtitle {
159   text-align: center }
160
161 hr.docutils {
162   width: 75% }
163
164 img.align-left, .figure.align-left, object.align-left {
165   clear: left ;
166   float: left ;
167   margin-right: 1em }
168
169 img.align-right, .figure.align-right, object.align-right {
170   clear: right ;
171   float: right ;
172   margin-left: 1em }
173
174 img.align-center, .figure.align-center, object.align-center {
175   display: block;
176   margin-left: auto;
177   margin-right: auto;
178 }
179
180 .align-left {
181   text-align: left }
182
183 .align-center {
184   clear: both ;
185   text-align: center }
186
187 .align-right {
188   text-align: right }
189
190 /* reset inner alignment in figures */
191 div.align-right {
192   text-align: inherit }
193
194 /* div.align-center * { */
195 /*   text-align: left } */
196
197 ol.simple, ul.simple {
198   margin-bottom: 1em }
199
200 ol.arabic {
201   list-style: decimal }
202
203 ol.loweralpha {
204   list-style: lower-alpha }
205
206 ol.upperalpha {
207   list-style: upper-alpha }
208
209 ol.lowerroman {
210   list-style: lower-roman }
211
212 ol.upperroman {
213   list-style: upper-roman }
214
215 p.attribution {
216   text-align: right ;
217   margin-left: 50% }
218
219 p.caption {
220   font-style: italic }
221
222 p.credits {
223   font-style: italic ;
224   font-size: smaller }
225
226 p.label {
227   white-space: nowrap }
228
229 p.rubric {
230   font-weight: bold ;
231   font-size: larger ;
232   color: maroon ;
233   text-align: center }
234
235 p.sidebar-title {
236   font-family: sans-serif ;
237   font-weight: bold ;
238   font-size: larger }
239
240 p.sidebar-subtitle {
241   font-family: sans-serif ;
242   font-weight: bold }
243
244 p.topic-title {
245   font-weight: bold }
246
247 pre.address {
248   margin-bottom: 0 ;
249   margin-top: 0 ;
250   font: inherit }
251
252 pre.literal-block, pre.doctest-block, pre.math, pre.code {
253   margin-left: 2em ;
254   margin-right: 2em }
255
256 pre.code .ln { color: grey; } /* line numbers */
257 pre.code, code { background-color: #eeeeee }
258 pre.code .comment, code .comment { color: #5C6576 }
259 pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
260 pre.code .literal.string, code .literal.string { color: #0C5404 }
261 pre.code .name.builtin, code .name.builtin { color: #352B84 }
262 pre.code .deleted, code .deleted { background-color: #DEB0A1}
263 pre.code .inserted, code .inserted { background-color: #A3D289}
264
265 span.classifier {
266   font-family: sans-serif ;
267   font-style: oblique }
268
269 span.classifier-delimiter {
270   font-family: sans-serif ;
271   font-weight: bold }
272
273 span.interpreted {
274   font-family: sans-serif }
275
276 span.option {
277   white-space: nowrap }
278
279 span.pre {
280   white-space: pre }
281
282 span.problematic {
283   color: red }
284
285 span.section-subtitle {
286   /* font-size relative to parent (h1..h6 element) */
287   font-size: 80% }
288
289 table.citation {
290   border-left: solid 1px gray;
291   margin-left: 1px }
292
293 table.docinfo {
294   margin: 2em 4em }
295
296 table.docutils {
297   margin-top: 0.5em ;
298   margin-bottom: 0.5em }
299
300 table.footnote {
301   border-left: solid 1px black;
302   margin-left: 1px }
303
304 table.docutils td, table.docutils th,
305 table.docinfo td, table.docinfo th {
306   padding-left: 0.5em ;
307   padding-right: 0.5em ;
308   vertical-align: top }
309
310 table.docutils th.field-name, table.docinfo th.docinfo-name {
311   font-weight: bold ;
312   text-align: left ;
313   white-space: nowrap ;
314   padding-left: 0 }
315
316 /* "booktabs" style (no vertical lines) */
317 table.docutils.booktabs {
318   border: 0px;
319   border-top: 2px solid;
320   border-bottom: 2px solid;
321   border-collapse: collapse;
322 }
323 table.docutils.booktabs * {
324   border: 0px;
325 }
326 table.docutils.booktabs th {
327   border-bottom: thin solid;
328   text-align: left;
329 }
330
331 h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
332 h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
333   font-size: 100% }
334
335 ul.auto-toc {
336   list-style-type: none }
337
338 </style>
339 </head>
340 <body>
341 <div class="document">
342
343
344 <div class="section" id="s4a-scaratch-for-arduino">
345 <h1>S4a: Scaratch for Arduino</h1>
346 <p>S4a e' un ambiende di sviluppo educativo ottimizzato per connettersi con
347 i microcontroller Arduino.</p>
348 <ul class="simple">
349 <li><a class="reference external" href="http://s4a.cat/">http://s4a.cat/</a></li>
350 <li><a class="reference external" href="https://scratch.mit.edu/about/">https://scratch.mit.edu/about/</a></li>
351 </ul>
352 <p>Per poter connettere il microcontroller Arduino a s4a si dovra' caricare il
353 firmware S4AFirmware16.ino sulla scheda <strong>prima di lanciare s4a</strong>.</p>
354 <ul class="simple">
355 <li>Download: <a class="reference external" href="http://vps34736.ovh.net/S4A/S4AFirmware16.ino">http://vps34736.ovh.net/S4A/S4AFirmware16.ino</a></li>
356 <li><a class="reference external" href="http://s4a.cat/index.html#downloads">http://s4a.cat/index.html#downloads</a></li>
357 </ul>
358 </div>
359 <div class="section" id="link-a-risorse-utili">
360 <h1>Link a risorse utili:</h1>
361 <p>Documentazione e guide</p>
362 <div class="section" id="italiano">
363 <h2>Italiano</h2>
364 <ul class="simple">
365 <li><a class="reference external" href="http://www.maffucci.it/2014/03/29/micro-corso-di-scratch-per-incominciare-ad-imparare-a-programmare/">http://www.maffucci.it/2014/03/29/micro-corso-di-scratch-per-incominciare-ad-imparare-a-programmare/</a></li>
366 <li><a class="reference external" href="http://www.maffucci.it/2015/03/27/corso-di-scratch-lezione-1/">http://www.maffucci.it/2015/03/27/corso-di-scratch-lezione-1/</a></li>
367 <li><a class="reference external" href="http://www.maffucci.it/2015/04/09/corso-di-scratch-lezione-2/">http://www.maffucci.it/2015/04/09/corso-di-scratch-lezione-2/</a></li>
368 <li><a class="reference external" href="http://www.prometheusnow.com/blog/s4a-programmare-arduino-scratch/">http://www.prometheusnow.com/blog/s4a-programmare-arduino-scratch/</a></li>
369 <li><a class="reference external" href="http://gzuliani.bitbucket.org/scratch/scratch-arduino.html">http://gzuliani.bitbucket.org/scratch/scratch-arduino.html</a></li>
370 <li><a class="reference external" href="http://www.mastropaolo.net/scratch">http://www.mastropaolo.net/scratch</a></li>
371 </ul>
372 </div>
373 <div class="section" id="inglese">
374 <h2>Inglese</h2>
375 <ul class="simple">
376 <li><a class="reference external" href="https://djanesblog.wordpress.com/category/circuit-3/">https://djanesblog.wordpress.com/category/circuit-3/</a></li>
377 <li><a class="reference external" href="http://s4a.cat/index.html#docs">http://s4a.cat/index.html#docs</a></li>
378 </ul>
379 </div>
380 </div>
381 <div class="section" id="risorse">
382 <h1>Risorse</h1>
383 <p>Questo archivio e' disponibile su:</p>
384 <ul class="simple">
385 <li><a class="reference external" href="http://lab.piffa.net/scratch">http://lab.piffa.net/scratch</a></li>
386 <li><a class="reference external" href="http://git.andreamanni.com/">http://git.andreamanni.com/</a> <a class="reference external" href="http://git.andreamanni.com/web">http://git.andreamanni.com/web</a></li>
387 </ul>
388 <p>In questo archivio troverete:</p>
389 <div class="section" id="esercizi">
390 <h2>Esercizi</h2>
391 <p>Nella cartella <tt class="docutils literal">esercizi</tt> sono contenuti i primi esempi relativi a fondamenti
392 di programmazione, sono ordinati per numero e coprono:</p>
393 <ul class="simple">
394 <li>istruzioni</li>
395 <li>sequenze di istruzioni</li>
396 <li>cicli condizionali (input da tastiera e bottone fisico)</li>
397 <li>cicli iterativi (ripetizione di movimenti)</li>
398 <li>input analogico (da un potenziometro o fotoresistenza)</li>
399 <li>output analogico PWM (relativo a un input analogico)</li>
400 </ul>
401 <p>Qesti esercizi nascono come introduzione alle versioni classiche in C++ che
402 possono essere affrontate successivamente:
403 - <a class="reference external" href="http://lab.piffa.net/sketchbook_andrea/">http://lab.piffa.net/sketchbook_andrea/</a></p>
404 </div>
405 <div class="section" id="screenshot">
406 <h2>Screenshot</h2>
407 <p>Diagrammi di flusso degli sketch in formato png.</p>
408 </div>
409 <div class="section" id="schemi">
410 <h2>Schemi</h2>
411 <p>Schemi dei circuiti elettrici sulla breadboard.</p>
412 </div>
413 </div>
414 </div>
415 </body>
416 </html>