<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="it">
	<id>https://www.raspibo.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Presepe</id>
	<title>Presepe - Cronologia</title>
	<link rel="self" type="application/atom+xml" href="https://www.raspibo.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Presepe"/>
	<link rel="alternate" type="text/html" href="https://www.raspibo.org/wiki/index.php?title=Presepe&amp;action=history"/>
	<updated>2026-05-09T00:20:23Z</updated>
	<subtitle>Cronologia della pagina su questo sito</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://www.raspibo.org/wiki/index.php?title=Presepe&amp;diff=3422&amp;oldid=prev</id>
		<title>Dancast78 il 21:04, 25 set 2014</title>
		<link rel="alternate" type="text/html" href="https://www.raspibo.org/wiki/index.php?title=Presepe&amp;diff=3422&amp;oldid=prev"/>
		<updated>2014-09-25T21:04:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;it&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Versione meno recente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versione delle 21:04, 25 set 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l26&quot; &gt;Riga 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Presepe3.JPG]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Presepe3.JPG]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Progetti]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dancast78</name></author>
	</entry>
	<entry>
		<id>https://www.raspibo.org/wiki/index.php?title=Presepe&amp;diff=2125&amp;oldid=prev</id>
		<title>Oloturia il 19:13, 1 dic 2013</title>
		<link rel="alternate" type="text/html" href="https://www.raspibo.org/wiki/index.php?title=Presepe&amp;diff=2125&amp;oldid=prev"/>
		<updated>2013-12-01T19:13:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;it&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Versione meno recente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versione delle 19:13, 1 dic 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Riga 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Presepe1.JPG]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Presepe1.JPG]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Su come accendere e spegnere i LED potete leggere la guida [[Accensione di un led]].&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;L'unica cosa degna di nota è questa: per simulare un fuocherello ho usato un led giallo collegato al PWM del Raspberry Pi facendolo variare lentamente. Si può avere un fuoco più o meno vivace mettendo un tempo più ridotto fra una variazione e l'altra. Per far in modo che fosse indipendente dagli altri led (che più semplicemente si accendono e si spengono) il &amp;quot;fuoco&amp;quot; è gestito da un thread.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;L'unica cosa degna di nota è questa: per simulare un fuocherello ho usato un led giallo collegato al PWM del Raspberry Pi facendolo variare lentamente. Si può avere un fuoco più o meno vivace mettendo un tempo più ridotto fra una variazione e l'altra. Per far in modo che fosse indipendente dagli altri led (che più semplicemente si accendono e si spengono) il &amp;quot;fuoco&amp;quot; è gestito da un thread.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ricordatevi di importare le librerie ''threading'', ''time'' e ''random'', oltre a quella che usate per gestire la GPIO (io uso ''wiringpi''[[http://wiringpi.com/]])&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ricordatevi di importare le librerie ''threading'', ''time'' e ''random'', oltre a quella che usate per gestire la GPIO (io uso ''wiringpi''[[http://wiringpi.com/]])&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Oloturia</name></author>
	</entry>
	<entry>
		<id>https://www.raspibo.org/wiki/index.php?title=Presepe&amp;diff=2124&amp;oldid=prev</id>
		<title>Oloturia: Creata pagina con 'Qualche giorno fa m'era venuta questa idea di fare un presepe con i pezzi degli scacchi. Per fare le montagne e quant'altro avrei voluto stampare delle scacchiere.. ma come av...'</title>
		<link rel="alternate" type="text/html" href="https://www.raspibo.org/wiki/index.php?title=Presepe&amp;diff=2124&amp;oldid=prev"/>
		<updated>2013-12-01T19:08:55Z</updated>

		<summary type="html">&lt;p&gt;Creata pagina con &amp;#039;Qualche giorno fa m&amp;#039;era venuta questa idea di fare un presepe con i pezzi degli scacchi. Per fare le montagne e quant&amp;#039;altro avrei voluto stampare delle scacchiere.. ma come av...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nuova pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Qualche giorno fa m'era venuta questa idea di fare un presepe con i pezzi degli scacchi. Per fare le montagne e quant'altro avrei voluto stampare delle scacchiere.. ma come avrei potuto metterci le lucine senza il rischio che la mia natività si trasformasse in una palla di fuoco? Al che m'è venuto in mente che avrei potuto usare i LED, comandati tramite Raspberry Pi e usando Python.&lt;br /&gt;
&lt;br /&gt;
[[File:Presepe1.JPG]]&lt;br /&gt;
&lt;br /&gt;
L'unica cosa degna di nota è questa: per simulare un fuocherello ho usato un led giallo collegato al PWM del Raspberry Pi facendolo variare lentamente. Si può avere un fuoco più o meno vivace mettendo un tempo più ridotto fra una variazione e l'altra. Per far in modo che fosse indipendente dagli altri led (che più semplicemente si accendono e si spengono) il &amp;quot;fuoco&amp;quot; è gestito da un thread.&lt;br /&gt;
Ricordatevi di importare le librerie ''threading'', ''time'' e ''random'', oltre a quella che usate per gestire la GPIO (io uso ''wiringpi''[[http://wiringpi.com/]])&lt;br /&gt;
&lt;br /&gt;
 class ledpwm(threading.Thread):&lt;br /&gt;
        randnum = 0&lt;br /&gt;
        prevnum = 0&lt;br /&gt;
        def run(self):&lt;br /&gt;
                while (True):&lt;br /&gt;
                        self.randnum = int(random.random()*200)&lt;br /&gt;
                        while (self.randnum != self.prevnum):&lt;br /&gt;
                                io.pwmWrite(1,self.prevnum)&lt;br /&gt;
                                time.sleep(0.01)&lt;br /&gt;
                                if (self.prevnum &amp;gt; self.randnum):&lt;br /&gt;
                                        self.prevnum -= 1&lt;br /&gt;
                                else:&lt;br /&gt;
                                        self.prevnum += 1&lt;br /&gt;
&lt;br /&gt;
[[File:Presepe2.JPG]]&lt;br /&gt;
&lt;br /&gt;
Infine il risultato!&lt;br /&gt;
&lt;br /&gt;
[[File:Presepe3.JPG]]&lt;/div&gt;</summary>
		<author><name>Oloturia</name></author>
	</entry>
</feed>