<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.digitalspirit.org/blog/index.php/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>DigitalSpirit</title>
  <link>http://www.digitalspirit.org/blog/index.php/</link>
  <atom:link href="http://www.digitalspirit.org/blog/index.php/feed/rss2" rel="self" type="application/rss+xml"/>
  <description>Blog personnel de Charles Rincheval contenant des descriptions de projets réalisés dans les domaines du logiciels libres en encore dans des développements de systèmes embarqués</description>
  <language>fr</language>
  <pubDate>Fri, 03 Sep 2010 12:46:37 +0200</pubDate>
  <copyright>© 2008 Charles Rincheval. Ce billet a été originellement publié sur le site www.DigitalSpirit.org</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Hyla Tpl 0.7.0 et nouveau site</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/07/16/Hyla-Tpl-0.7.0-et-nouveau-site</link>
    <guid isPermaLink="false">urn:md5:65a2acef9697b3b14692162d517b4d41</guid>
    <pubDate>Fri, 16 Jul 2010 17:13:00 +0200</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Php</category>
        <category>gabarit</category><category>hyla</category><category>hyla tpl</category><category>hyla_tpl</category><category>php</category><category>Php</category><category>Planet-Libre</category><category>template</category>    
    <description>    &lt;p&gt;Cela va bientôt faire un mois que Hyla Tpl est sorti en version 0.7.0 avec un tout nouveau site qui lui ai dédié&amp;nbsp;: &lt;a href=&quot;http://tpl.hyla-project.org/&quot; hreflang=&quot;fr&quot;&gt;http://tpl.hyla-project.org/&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Sur le site, vous trouverez tout ce dont vous avez besoin de savoir sur Hyla Tpl et ces développement&amp;nbsp;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Une &lt;a href=&quot;http://tpl.hyla-project.org/fr/introduction&quot; hreflang=&quot;fr&quot;&gt;introduction&lt;/a&gt; avec un descriptif des &lt;a href=&quot;http://tpl.hyla-project.org/fr/introduction#phplib-diff&quot; hreflang=&quot;fr&quot;&gt;différences entre Hyla Tpl et la PhpLib&lt;/a&gt; et un &lt;a href=&quot;http://tpl.hyla-project.org/fr/introduction#perf&quot; hreflang=&quot;fr&quot;&gt;comparatif de performance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Une &lt;a href=&quot;http://tpl.hyla-project.org/fr/documentation&quot; hreflang=&quot;fr&quot;&gt;documentation complète&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Des &lt;a href=&quot;http://tpl.hyla-project.org/fr/exemples&quot; hreflang=&quot;fr&quot;&gt;exemples interactifs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://tpl.hyla-project.org/fr/actualite&quot; hreflang=&quot;fr&quot;&gt;L'actualité de Hyla Tpl&lt;/a&gt; centralisée&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/tpl.hyla-project.org_screenshot.png&quot; title=&quot;Capture d&amp;#039;écran du site tpl.hyla-project.org&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.tpl.hyla-project.org_screenshot_m.jpg&quot; alt=&quot;Capture d&amp;#039;écran du site tpl.hyla-project.org&quot; title=&quot;Capture d&amp;#039;écran du site tpl.hyla-project.org, juil. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://tpl.hyla-project.org/fr/introduction#perf&quot; hreflang=&quot;fr&quot;&gt;Comparatif des performances Hyla Tpl&lt;/a&gt; contre le moteur de gabarit de la PhpLib&amp;nbsp;:
&lt;br /&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/tpl.hyla-project.org_chart.png&quot; title=&quot;Comparatif performance Hyla Tpl / Phplib&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.tpl.hyla-project.org_chart_sq.jpg&quot; alt=&quot;Comparatif performance Hyla Tpl / Phplib&quot; title=&quot;Comparatif performance Hyla Tpl / Phplib, juil. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Concernant les nouveautés de cette nouvelle version de Hyla Tpl sort en version 0.7.0, les voici&amp;nbsp;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Il est dorénavant possible de définir une &lt;a href=&quot;http://tpl.hyla-project.org/fr/documentation#var-default-val&quot; hreflang=&quot;fr&quot;&gt;valeur par défaut à une variable&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Ajout de &lt;a href=&quot;http://tpl.hyla-project.org/fr/documentation#func-list-import&quot; hreflang=&quot;fr&quot;&gt;la fonction import&lt;/a&gt; permettant de charger un fichier tpl depuis la vue&lt;/li&gt;
&lt;li&gt;Possibilité de &lt;a href=&quot;http://tpl.hyla-project.org/fr/documentation#var-set-var&quot; hreflang=&quot;fr&quot;&gt;définir des variables directement depuis le template&lt;/a&gt;, très utile pour les templates inclus depuis la vue&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://tpl.hyla-project.org/fr/documentation#api-methods&quot; hreflang=&quot;fr&quot;&gt;Nouvelles méthodes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Performances améliorées&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ça se passe par ici&amp;nbsp;: &lt;a href=&quot;http://tpl.hyla-project.org/&quot; hreflang=&quot;fr&quot;&gt;http://tpl.hyla-project.org/&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/07/16/Hyla-Tpl-0.7.0-et-nouveau-site#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/07/16/Hyla-Tpl-0.7.0-et-nouveau-site#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/1138</wfw:commentRss>
      </item>
    
  <item>
    <title>Retour d'utilisation du livre électronique KoBo</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/06/24/Retour-d-utilisation-du-livre-%C3%A9lectronique-KoBo</link>
    <guid isPermaLink="false">urn:md5:a37c6770c46e814197dafca570400dfd</guid>
    <pubDate>Thu, 24 Jun 2010 16:28:00 +0200</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Général</category>
        <category>ereader</category><category>kobo</category><category>lecteur</category><category>livre</category><category>livre numérique</category><category>reader</category>    
    <description>    &lt;p&gt;Étant à la recherche d'un &lt;a href=&quot;http://fr.wikipedia.org/wiki/Livre_%C3%A9lectronique&quot; hreflang=&quot;fr&quot;&gt;livre électronique&lt;/a&gt; depuis &lt;a href=&quot;http://linuxfr.org/~_hugo_/29729.html&quot; hreflang=&quot;fr&quot;&gt;quelque temps&lt;/a&gt;, j'ai finalement trouvé plutôt par hasard le &lt;a href=&quot;http://www.koboereader.com/&quot; hreflang=&quot;en&quot;&gt;Kobo&lt;/a&gt;, un produit canadien qui se démarque de ces concurrents par un prix plutôt attractif car on le trouve pour environ 160$.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/kobo_menu.png&quot; title=&quot;Kobo menu&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.kobo_menu_s.jpg&quot; alt=&quot;Kobo menu&quot; title=&quot;Kobo menu, juin 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Il possède un écran 6 pouces, une mémoire interne de 1 Go accessible via Usb (Le Kobo est reconnu comme une clef Usb) et à la possibilité de recevoir des documents depuis Bluetooth (plus d'infos sur cette page&amp;nbsp;: &lt;a href=&quot;http://wiki.mobileread.com/wiki/Kobo_eReader&quot; hreflang=&quot;en&quot;&gt;http://wiki.mobileread.com/wiki/Kobo_eReader&lt;/a&gt;)&lt;/p&gt;


&lt;p&gt;Au niveau logiciel, il utilise Linux, une base de données &lt;a href=&quot;http://www.sqlite.org/&quot; hreflang=&quot;en&quot;&gt;SqLite&lt;/a&gt; et il y aurait apparemment 2 versions du firmware (en date du 5 juin 2010).&lt;/p&gt;


&lt;h2&gt;Mon avis&lt;/h2&gt;


&lt;p&gt;Le Kobo est simple, très, trop simple d'utilisation, l'interface est extrèmement limitée, on se limite ici, à de la lecture de livre linéaire (impossibilité de passer de la page 1 à la 3 sans passer par la 2), ainsi, oubliez d'avance de faire des recherches dans un document.
&lt;br /&gt;
À la base, je cherchais un appareil me permettant de consulter des datasheets, ou toute sorte de documents technique que l'on consulte rapidement pendant le développement d'un projet m'évitant ainsi d'imprimer des trop grosses quantité de page, avec le Kobo, j'ai du revoir un peu cette manière de faire...
&lt;br /&gt;
Le Kobo est bel et bien aussi peu pratique et lent que du papier lorsque l'on cherche un mot dans un document mais cela n'est pas tout à fait la spécificité du Kobo, ces concurrents font guère mieux.&lt;/p&gt;


&lt;p&gt;Le micro-logiciel fourni par défaut possède quelques bugs dont un qui est plutôt ennuyeux&amp;nbsp;: si on essaie de lire un document possédant une apostrophe dans le titre, on se retrouve avec un beau message d'avertissement nous disant que nous n'avons pas le droit de le lire, un excellent exemple démontrant une fois encore que les DRM sont de la merde comme l'écrivait Philippe Astor en 2007 dans un article au doux nom&amp;nbsp;: «&amp;nbsp;&lt;a href=&quot;http://www.zdnet.fr/blogs/digital-jukebox/drm-de-merde-39601035.htm&quot; hreflang=&quot;fr&quot;&gt;DRM de merde&lt;/a&gt;&amp;nbsp;» :&lt;/p&gt;


&lt;p&gt;&lt;em&gt;&lt;q&gt;Messieurs, vos DRM sont une belle merde, du foutage de gueule en barre, du ni fait ni à faire, un ramassis de camelote, un assortiment de bugs en cascade, une escroquerie logicielle et intellectuelle et pour finir, une véritable incitation à les contourner, ce que je n'hésiterai pas à faire en dernier ressort - ça devrait être moins compliqué que de les faire fonctionner -, pour continuer à bénéficier des services que je paie !&lt;/q&gt;&lt;/em&gt;&lt;/p&gt;


&lt;p&gt;Voici le beau message d'erreur, qui, espérons-le, n'apparaitra plus après la première mise à jour du micro-logiciel censée arriver en fin de semaine&amp;nbsp;: &lt;a href=&quot;http://www.digitalspirit.org/http://blog.kobobooks.com/2010/06/18/kobo-summer-news/&quot; title=&quot;en&quot;&gt;Annonce du CEO sur le blog officiel&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/kobo_fail.png&quot; title=&quot;Kobo fail&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.kobo_fail_s.jpg&quot; alt=&quot;Kobo fail&quot; title=&quot;Kobo fail, juin 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;Mon utilisation&lt;/h2&gt;


&lt;p&gt;J'utilise le service &lt;a href=&quot;http://readitlaterlist.com/&quot; hreflang=&quot;en&quot;&gt;ReadItLater&lt;/a&gt; qui est un mix de &lt;a href=&quot;http://delicious.com/&quot; hreflang=&quot;en&quot;&gt;Delicious&lt;/a&gt; pour la sauvergarde des pages et de &lt;a href=&quot;http://lab.arc90.com/experiments/readability/&quot; hreflang=&quot;en&quot;&gt;Readability&lt;/a&gt; (dont il devient difficile de se passer, d'ailleurs, même &lt;a href=&quot;http://www.macgeneration.com/news/voir/157811/readability-aux-sources-du-lecteur-safari&quot; hreflang=&quot;fr&quot;&gt;Safari l'utilise&lt;/a&gt;) pour le nettoyage / formatage des pages, ainsi, lorsque je rencontre une page intéressante, je l'enregistre à l'aide du bouton adéquate, il est automatiquement ajouté à mes documents à lire.
&lt;br /&gt;
Dès que j'ai le temps de lire, je récupère alors les urls, je les mets en forme et je transfère le tout sur le KoBo à l'aide de l'excellent logiciel libre &lt;a href=&quot;http://calibre-ebook.com/&quot; hreflang=&quot;en&quot;&gt;Calibre&lt;/a&gt; qui est multi-plateforme est très bien intégré à chaque environnement.&lt;/p&gt;



&lt;p&gt;Je vais suivre de prêt l'actualité des livres électroniques en espérant trouvé celui qui me permettra enfin d'être efficace dans la lecture de gros pdf avec toutes les fonctionnalités qui vont bien, pour le moment, je guête avec une attention particulière le &lt;a href=&quot;http://www.barnesandnoble.com/nook/index.asp&quot; hreflang=&quot;en&quot;&gt;Nook&lt;/a&gt; avec 2 écrans, dont, un tactile permettant de faire des recherches, etc, et, qui plus est, est &lt;a href=&quot;http://nookdevs.com/&quot; hreflang=&quot;en&quot;&gt;rooté&lt;/a&gt; et dont le prix à baissé et est aujourd'hui trouvable en version Wifi pour 149$, un très bon point.&lt;/p&gt;


&lt;h2&gt;Liens connexes&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Un forum anglophone consacré entre autre au Kobo&amp;nbsp;: &lt;a href=&quot;http://www.mobileread.com/forums/forumdisplay.php?f=223&quot; hreflang=&quot;en&quot;&gt;Mobile Read&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Un script en python permettant de dialoguer avec le Kobo&amp;nbsp;: &lt;a href=&quot;http://blog.triumphovermadness.com/2010/06/kobotoolpy-kobo-command-line-tool.html&quot; hreflang=&quot;en&quot;&gt;KoboTool.py - Kobo Command Line Tool&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/06/24/Retour-d-utilisation-du-livre-%C3%A9lectronique-KoBo#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/06/24/Retour-d-utilisation-du-livre-%C3%A9lectronique-KoBo#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/1099</wfw:commentRss>
      </item>
    
  <item>
    <title>Astuces Nokia N900 : Vider le dictionnaire, faire taire l'appareil photo</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/02/18/Astuces-pour-le-Nokia-n900</link>
    <guid isPermaLink="false">urn:md5:113e585039f805e785351fa4e04094c0</guid>
    <pubDate>Wed, 19 May 2010 16:40:00 +0200</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Gnu/Linux</category>
        <category>astuces</category><category>completion</category><category>maemo</category><category>n900</category><category>nokia</category><category>photos</category><category>Planet-Libre</category><category>silence</category><category>taire</category><category>tips</category>    
    <description>    &lt;h3&gt;Vider le dictionnaire&lt;/h3&gt;


&lt;p&gt;Lorsque vous saisissez du texte, les mots sont enregistrés (selon votre configuration) dans des fichiers pour la complétion automatique, malheureusement, le système ne fait pas toujours la différence entre un mot commun sans importance et un mot de passe qui doit nullement être stocké...&lt;/p&gt;


&lt;p&gt;Il est donc conseillé de désactiver la complétion des mots pour éviter ce genre de désagrément, sinon, il est tout à fait possible de vider la base des mots enregistrés.&lt;/p&gt;


&lt;p&gt;Ils sont contenus dans le dossier /home/user/.osso/dictionaries&lt;/p&gt;

&lt;pre class=&quot;shell&quot;&gt;
$ cd /home/user/.osso/dictionaries
$ ls -l
drwxr-xr-x    2 user     users        4.0k Feb  9 14:32 .
drwxr-xr-x    6 user     users        4.0k Feb 22 10:06 ..
-rw-r--r--    1 user     users       10.0k Feb 23 10:30 .personal.dictionary
-rw-r--r--    1 user     users        1.0k Feb 20 12:50 .used.dictionary&lt;/pre&gt;



&lt;p&gt;Il est possible de dévoiler le contenu du fichier .personal.dictionary avec la commande strings&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;shell&quot;&gt;
$ strings .personal.dictionary
toto
tata
&lt;em&gt;[...]&lt;/em&gt;&lt;/pre&gt;



&lt;p&gt;Et voici pour supprimer les 2 fichiers&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;shell&quot;&gt;
$ rm .personal.dictionary .used.dictionary&lt;/pre&gt;




&lt;h3&gt;Faire taire l'appareil photo&lt;/h3&gt;


&lt;p&gt;&lt;ins&gt;Ceci ne s'applique pas pour les téléphones européens ou avec une locales européennes, ces derniers, se taisent, en théorie quand on leur demande.&lt;/ins&gt;&lt;/p&gt;


&lt;p&gt;Prendre une photo discrètement avec le n900 n'est pas facile, en effet, même en mode muet, un son est émis, ce n'est pas un bug, c'est voulu pour de sombre raison de vie privée (&lt;a href=&quot;http://en.wikipedia.org/wiki/Nokia_N82#Camera_privacy&quot; hreflang=&quot;en&quot;&gt;http://en.wikipedia.org/wiki/Nokia_N82#Camera_privacy&lt;/a&gt;), bref, pour lui couper la chique définitivement, il suffit de l'empêcher de trouver ses fichiers sons&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;shell&quot;&gt;
$ cd /usr/share/sounds
$ mv camera_snd_title_1.wav camera_snd_title_1.wav.old
$ mv camera_snd_title_2.wav camera_snd_title_2.wav.old
$ mv camera_snd_title_3.wav camera_snd_title_3.wav.old
$ &lt;/pre&gt;
</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/02/18/Astuces-pour-le-Nokia-n900#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/02/18/Astuces-pour-le-Nokia-n900#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/989</wfw:commentRss>
      </item>
    
  <item>
    <title>Extension Openplanet pour Dotclear</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/02/18/Extension-Openplanet-pour-Dotclear</link>
    <guid isPermaLink="false">urn:md5:5022edd30c0765c951458dfbe05ae991</guid>
    <pubDate>Wed, 24 Feb 2010 13:05:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Php</category>
        <category>dotclear</category><category>extension</category><category>openplanet</category><category>php</category><category>planet</category><category>Planet-Libre</category><category>plugin</category>    
    <description>    &lt;p&gt;L'extension &lt;a href=&quot;http://disvroian.le-regent.org/index.php?category/OpenPlanet&quot; hreflang=&quot;fr&quot;&gt;Openplanet&lt;/a&gt; pour &lt;a href=&quot;http://fr.dotclear.org/&quot; hreflang=&quot;fr&quot;&gt;Dotclear&lt;/a&gt; permet de créer un planet sur votre blog, un regroupement de blogs par le biais des fils de syndication (rss, atom...).&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/rss.png&quot; title=&quot;Logo rss&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.rss_t.jpg&quot; alt=&quot;Logo rss&quot; title=&quot;Logo rss, fév. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;J'ai eu à l'installer pour le site &lt;a href=&quot;http://planet.madeinfr.org/&quot; hreflang=&quot;fr&quot;&gt;http://planet.madeinfr.org/&lt;/a&gt; mais quelques problèmes rencontrés m'ont obligé à le modifier quelque peu.&lt;/p&gt;


&lt;p&gt;Je publie donc la version modifiée et le patch basé sur la &lt;strong&gt;version 1.2 bêta 2&lt;/strong&gt;.&lt;/p&gt;


&lt;p&gt;&lt;ins&gt;Voici la liste des corrections / ajouts :&lt;/ins&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On ne modifie pas le status d'un billet que l'on met à jour, ainsi, si il est marqué hors ligne, il le reste...&lt;/li&gt;
&lt;li&gt;Pas d'insertion si le contenu est vide ou sans titre&lt;/li&gt;
&lt;li&gt;Autorisation dans &lt;a href=&quot;http://simplepie.org/&quot; hreflang=&quot;en&quot;&gt;SimplePie&lt;/a&gt; (la librairie de gestion de flux de syndication) des balises Object, Param et Embed afin de permettre les vidéos au format Flash (Oui, c'est mal)&lt;/li&gt;
&lt;li&gt;On ne modifie pas la categorie d'un billet dont on fait la mise à jour&lt;/li&gt;
&lt;li&gt;Résolution de problemes avec les tags importés comportant des accents&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Les sources sont en pièce jointe à ce billet.&lt;/p&gt;</description>
    
          <enclosure url="http://www.digitalspirit.org/blog/public/src/openplanet-patch-1.2-to-1.2hugo.diff"
      length="17598" type="text/plain" />
          <enclosure url="http://www.digitalspirit.org/blog/public/src/openplanet-1.2-patch-hugo.zip"
      length="190256" type="application/zip" />
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/02/18/Extension-Openplanet-pour-Dotclear#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/02/18/Extension-Openplanet-pour-Dotclear#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/988</wfw:commentRss>
      </item>
    
  <item>
    <title>Astuce Nokia N900 : Ajouter des raccourcis au menu principal</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/02/15/Astuce-Nokia-N900-%3A-Ajouter-des-raccourcis-au-menu-principal</link>
    <guid isPermaLink="false">urn:md5:e2c4296e8f28128d5683256a9938a93c</guid>
    <pubDate>Mon, 22 Feb 2010 09:52:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Gnu/Linux</category>
        <category>maemo</category><category>menu</category><category>n900</category><category>nokia</category><category>Planet-Libre</category><category>raccourci</category><category>reboot</category>    
    <description>    &lt;p&gt;
Il est assez simple d'ajouter des éléments dans le menu principal et notamment des raccourcis vers des applications utiles, pour cela, il suffit d'éditer le fichier xml &lt;em&gt;/etc/systemui/systemui.xml&lt;/em&gt; et d'y ajouter quelques lignes.
&lt;/p&gt;
&lt;p&gt;
Par exemple, pour ajouter dans le menu, un raccourci vers htop et deux entrées permettant de rédémarrer la machine, il suffit d'ajouter dans le fichier xml le texte en vert suivant :
&lt;/p&gt;
&lt;pre&gt; [...]&lt;br /&gt;&lt;span style=&quot;color: green;&quot;&gt;&lt;br /&gt;&amp;lt;menuitem priority=&quot;20&quot; name=&quot;Reboot&quot;&amp;gt;&lt;br /&gt;  &amp;lt;return&amp;gt;6&amp;lt;/return&amp;gt;&lt;br /&gt;  &amp;lt;po&amp;gt;osso-powerup-shutdown&amp;lt;/po&amp;gt;&lt;br /&gt; &amp;lt;/menuitem&amp;gt;&lt;br /&gt; &amp;lt;menuitem priority=&quot;10&quot; name=&quot;Soft poweroff&quot;&amp;gt;&lt;br /&gt;  &amp;lt;return&amp;gt;7&amp;lt;/return&amp;gt;&lt;br /&gt;  &amp;lt;po&amp;gt;osso-powerup-shutdown&amp;lt;/po&amp;gt;&lt;br /&gt; &amp;lt;/menuitem&amp;gt;&lt;br /&gt; &amp;lt;menuitem priority=&quot;5&quot; name=&quot;Htop in XTerm&quot;&amp;gt;&lt;br /&gt;  &amp;lt;callback service=&quot;com.nokia.xterm&quot; path=&quot;/com/nokia/xterm&quot; interface=&quot;com.nokia.xterm&quot;&lt;br /&gt;    method=&quot;run_command&quot; bus=&quot;session&quot; autostart=&quot;true&quot;&amp;gt;&lt;br /&gt;   &amp;lt;argument type=&quot;string&quot;&amp;gt;/usr/bin/htop&amp;lt;/argument&amp;gt;&lt;br /&gt;  &amp;lt;/callback&amp;gt;&lt;br /&gt; &amp;lt;/menuitem&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/powerkeymenu&amp;gt;&lt;/pre&gt;
&lt;p&gt;Et voilà le résultat :&lt;/p&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/n900_menu.png&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.n900_menu_m.jpg&quot; alt=&quot;Ajouter des item au menu principel&quot; title=&quot;Ajouter des item au menu principel, fév. 2010&quot; /&gt;&lt;/a&gt;</description>
    
          <enclosure url="http://www.digitalspirit.org/blog/public/src/systemui.xml"
      length="2635" type="application/xml" />
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/02/15/Astuce-Nokia-N900-%3A-Ajouter-des-raccourcis-au-menu-principal#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/02/15/Astuce-Nokia-N900-%3A-Ajouter-des-raccourcis-au-menu-principal#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/983</wfw:commentRss>
      </item>
    
  <item>
    <title>Tuner son hélico ou comment relier 2 batteries LiPo en parallèle</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/02/19/Tuner-son-h%C3%A9lico-ou-comment-relier-2-batteries-LiPo-en-parall%C3%A8le</link>
    <guid isPermaLink="false">urn:md5:7a9ccf6eca926b895249f875ef2f4bef</guid>
    <pubDate>Fri, 19 Feb 2010 08:30:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Electronique</category>
        <category>accu</category><category>autonomie</category><category>batterie</category><category>co-axial</category><category>Copter V-MAX Hypersonic</category><category>diy</category><category>hélico</category><category>hélicoptère</category><category>lipo</category><category>rotor</category><category>Sanhuan</category>    
    <description>    &lt;p&gt;Le SanHuan Copter 6020-1 MAX-Z aussi nommé le Copter V-MAX Hypersonic est un &lt;a href=&quot;http://en.wikipedia.org/wiki/Coaxial_rotors&quot; hreflang=&quot;en&quot;&gt;hélicoptère co-axial&lt;/a&gt; ridiculement petit disposant de 2 rotors de 17cm de diamètre stabilisé par balancier.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/heli_sanhuan.jpg&quot; title=&quot;Hélicoptère SanHuan Copter&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.heli_sanhuan_m.jpg&quot; alt=&quot;Hélicoptère SanHuan Copter&quot; title=&quot;Hélicoptère SanHuan Copter, fév. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Il ne dispose pas de plateau cyclique mais un rotor vertical à l'arrière lui permet d'avancer ou de reculer en le faisant basculer, imitant alors un cyclique longitudinal, bien évidemment, aucun moyen de faire le moindre mouvement cyclique latéral sauf en pivotant de 90° sur l'axe vertical, suis-je clair&amp;nbsp;? ;) Non ?, pour faire court, pas de déplacements latérals avec cet engin.&lt;/p&gt;


&lt;p&gt;Ce modèle réuni maniabilité et stabilité et on se prend réellement au jeu.
Sa principale faiblesse est son autonomie de 5 minutes, plutôt limite, d'autant plus que d'origine la batterie ne se change pas facilement...&lt;/p&gt;


&lt;p&gt;Nous allons donc modifier cet objet volant afin de le doter d'une autonomie un peu meilleure, pour cela, nous allons procéder en 3 étapes et ce sera l'occasion de faire un peu d'électronique&amp;nbsp;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Suppression des circuits de protection&lt;/li&gt;
&lt;li&gt;Mise en parallèle des éléments&lt;/li&gt;
&lt;li&gt;Ajout d'un seul circuit de protection&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;L'article est consultable sur le wiki à la page &lt;a href=&quot;http://www.digitalspirit.org/wiki/projets/sanhuancoptermaxz&quot; hreflang=&quot;fr&quot;&gt;Sanhuan Copter Max-Z&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Voici une très courte vidéo de la bête (non, pas le félin...)&lt;/p&gt;

&lt;div class=&quot;external-media&quot;&gt;
&lt;object width=&quot;400&quot; height=&quot;225&quot;&gt;&lt;param name=&quot;allowfullscreen&quot; value=&quot;true&quot; /&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot; /&gt;&lt;param name=&quot;movie&quot; value=&quot;http://vimeo.com/moogaloop.swf?clip_id=9538841&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=1&amp;amp;color=00ADEF&amp;amp;fullscreen=1&quot; /&gt;&lt;embed src=&quot;http://vimeo.com/moogaloop.swf?clip_id=9538841&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=1&amp;amp;color=00ADEF&amp;amp;fullscreen=1&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot; allowscriptaccess=&quot;always&quot; width=&quot;400&quot; height=&quot;225&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;p&gt;&lt;a href=&quot;http://vimeo.com/9538841&quot;&gt;Test du SanHuan 6020-1 MAX-Z modifié&lt;/a&gt; from &lt;a href=&quot;http://vimeo.com/user552031&quot;&gt;hugo&lt;/a&gt; on &lt;a href=&quot;http://vimeo.com&quot;&gt;Vimeo&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/02/19/Tuner-son-h%C3%A9lico-ou-comment-relier-2-batteries-LiPo-en-parall%C3%A8le#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/02/19/Tuner-son-h%C3%A9lico-ou-comment-relier-2-batteries-LiPo-en-parall%C3%A8le#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/966</wfw:commentRss>
      </item>
    
  <item>
    <title>Surveiller ses serveurs avec Ruby et Jabber</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/02/17/Surveillez-ses-serveurs-avec-Ruby-et-Jabber</link>
    <guid isPermaLink="false">urn:md5:c6b26fe2120cec3725859c01a6a40385</guid>
    <pubDate>Wed, 17 Feb 2010 10:36:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Ruby</category>
        <category>jabber</category><category>monitoring</category><category>pidgin</category><category>Planet-Libre</category><category>ruby</category>    
    <description>    &lt;p&gt;Voici un tout petit programme de moins de 20 lignes permettant très simplement de surveiller un serveur grâce aux protocoles &lt;a href=&quot;http://fr.wikipedia.org/wiki/Jabber&quot; hreflang=&quot;fr&quot;&gt;Jabber&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Il suffit de créer un compte Jabber spécifique pour le serveur à surveiller, et de l'ajouter dans votre liste de contacts, celui-ci apparaitra avec pour status la charge du système, pratique&amp;nbsp;! non&amp;nbsp;?&lt;/p&gt;


&lt;p&gt;En prérequi, il vous faut juste le gem xmpp4r-simple, installez le comme ceci&amp;nbsp;:&lt;/p&gt;
&lt;pre class=&quot;shell&quot;&gt;sudo gem install xmpp4r-simple&lt;/pre&gt;



&lt;p&gt;Le code est très facilement étendable selon vos besoins, je vous laisse faire...&lt;/p&gt;

&lt;pre class=&quot;ruby ruby&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;require&lt;/span&gt; &lt;span style=&quot;color:#996600;&quot;&gt;'rubygems'&lt;/span&gt;
&lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;require&lt;/span&gt; &lt;span style=&quot;color:#996600;&quot;&gt;'xmpp4r-simple'&lt;/span&gt;
&amp;nbsp;
LOGIN=&lt;span style=&quot;color:#996600;&quot;&gt;'le_compte_du_serveur@im.apinc.org'&lt;/span&gt;
PASS=&lt;span style=&quot;color:#996600;&quot;&gt;'lepass'&lt;/span&gt;
DEST=&lt;span style=&quot;color:#996600;&quot;&gt;'votre_compte_perso@im.apinc.org'&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color:#9966CC; font-weight:bold;&quot;&gt;begin&lt;/span&gt;
  &lt;span style=&quot;color:#ff6633; font-weight:bold;&quot;&gt;$im&lt;/span&gt; = &lt;span style=&quot;color:#6666ff; font-weight:bold;&quot;&gt;Jabber::Simple&lt;/span&gt;.&lt;span style=&quot;color:#9900CC;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#40;&lt;/span&gt;LOGIN, PASS&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span style=&quot;color:#ff6633; font-weight:bold;&quot;&gt;$im&lt;/span&gt;.&lt;span style=&quot;color:#9900CC;&quot;&gt;deliver&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#40;&lt;/span&gt;DEST, &lt;span style=&quot;color:#996600;&quot;&gt;&amp;quot;Hello !&amp;quot;&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;loop&lt;/span&gt; &lt;span style=&quot;color:#9966CC; font-weight:bold;&quot;&gt;do&lt;/span&gt;
    &lt;span style=&quot;color:#ff6633; font-weight:bold;&quot;&gt;$im&lt;/span&gt;.&lt;span style=&quot;color:#9900CC;&quot;&gt;status&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color:#0000FF; font-weight:bold;&quot;&gt;nil&lt;/span&gt;, &lt;span style=&quot;color:#996600;&quot;&gt;`hostname`&lt;/span&gt;.&lt;span style=&quot;color:#9900CC;&quot;&gt;strip&lt;/span&gt; &lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color:#996600;&quot;&gt;' : '&lt;/span&gt; &lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color:#996600;&quot;&gt;`cat /proc/loadavg`&lt;/span&gt;.&lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;split&lt;/span&gt;.&lt;span style=&quot;color:#9900CC;&quot;&gt;first&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color:#006666;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color:#9900CC;&quot;&gt;join&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color:#996600;&quot;&gt;' '&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;sleep&lt;/span&gt; &lt;span style=&quot;color:#006666;&quot;&gt;30&lt;/span&gt;
  &lt;span style=&quot;color:#9966CC; font-weight:bold;&quot;&gt;end&lt;/span&gt;
&lt;span style=&quot;color:#9966CC; font-weight:bold;&quot;&gt;rescue&lt;/span&gt; &lt;span style=&quot;color:#006600; font-weight:bold;&quot;&gt;=&amp;gt;&lt;/span&gt; e
  &lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;p&lt;/span&gt; e; &lt;span style=&quot;color:#CC0066; font-weight:bold;&quot;&gt;sleep&lt;/span&gt; &lt;span style=&quot;color:#006666;&quot;&gt;10&lt;/span&gt;
  &lt;span style=&quot;color:#9966CC; font-weight:bold;&quot;&gt;retry&lt;/span&gt;
&lt;span style=&quot;color:#9966CC; font-weight:bold;&quot;&gt;end&lt;/span&gt;&lt;/pre&gt;


&lt;p&gt;Lancez maintenant le script&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;shell&quot;&gt;ruby jabber.rb&lt;/pre&gt;



&lt;p&gt;Voilà un petit aperçu du résultat dans Pidgin&amp;nbsp;:&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/ruby-jabber_status.png&quot; title=&quot;Status Jabber Ruby&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/ruby-jabber_status.png&quot; alt=&quot;Status Jabber Ruby&quot; title=&quot;Status Jabber Ruby, fév. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description>
    
          <enclosure url="http://www.digitalspirit.org/blog/public/src/jabber.rb"
      length="362" type="text/plain" />
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/02/17/Surveillez-ses-serveurs-avec-Ruby-et-Jabber#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/02/17/Surveillez-ses-serveurs-avec-Ruby-et-Jabber#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/985</wfw:commentRss>
      </item>
    
  <item>
    <title>Astuce Nokia N900 : Enlever les ombres des icones sur le bureau</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/02/15/Astuce-Nokia-N900-%3A-Enlever-les-ombres-des-icones-sur-le-bureau</link>
    <guid isPermaLink="false">urn:md5:47dd43dfe4594a4843d6e775d77296eb</guid>
    <pubDate>Mon, 15 Feb 2010 09:37:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Gnu/Linux</category>
        <category>astuces</category><category>bureau</category><category>icone</category><category>maemo</category><category>menu</category><category>n900</category><category>nokia</category><category>Planet-Libre</category><category>reboot</category>    
    <description>    &lt;p&gt;
Il est possible de retirer les ombres des icones du bureau simplement en supprimant les 2 fichiers suivants :
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;/usr/share/themes/&lt;em&gt;NOM_DU_THEME&lt;/em&gt;/images/ApplicationShortcutAppletPressed.png&lt;/li&gt;
&lt;li&gt;/usr/share/themes/&lt;em&gt;NOM_DU_THEME&lt;/em&gt;/images/ApplicationShortcutApplet.png&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Afin de pouvoir restaurer les ombres, je vous conseille de simplement modifier l'extension de ces fichiers en &lt;strong&gt;png.old&lt;/strong&gt;, c'est assez simple, ouvrez un terminal et saisissez les commandes suivantes :&lt;/p&gt;
&lt;pre class=&quot;shell&quot;&gt;$ sudo gainroot&lt;br /&gt;$ cd /usr/share/themes/&lt;em&gt;NOM_DU_THEME&lt;/em&gt;/images/&lt;br /&gt;$ mv ApplicationShortcutAppletPressed.png ApplicationShortcutAppletPressed.png.old&lt;br /&gt;$ mv ApplicationShortcutApplet.png ApplicationShortcutApplet.png.old&lt;/pre&gt;
&lt;p&gt;
Pour que le changement soit pris en compte, redémarrez la machine.
&lt;/p&gt;
&lt;p&gt;
Voici le résultat, avant, après :
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/n900_icone_ombre.png&quot;&gt;&lt;img title=&quot;Bureau du N900 sans les ombres des icones, fév. 2010&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/.n900_icone_ombre_m.jpg&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/n900_icone.png&quot;&gt;&lt;img title=&quot;Bureau du N900 sans les ombres des icones, fév. 2010&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/.n900_icone_m.jpg&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;Bon, et pour ceux qui oseraient se demander comment on revient comme avant, on fait l'inverse : on renomme les .png.old en png.&lt;/em&gt;
&lt;/p&gt;</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/02/15/Astuce-Nokia-N900-%3A-Enlever-les-ombres-des-icones-sur-le-bureau#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/02/15/Astuce-Nokia-N900-%3A-Enlever-les-ombres-des-icones-sur-le-bureau#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/981</wfw:commentRss>
      </item>
    
  <item>
    <title>New York en noir et blanc...</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/01/28/New-York-en-noir-et-blanc...</link>
    <guid isPermaLink="false">urn:md5:23a0d9676f61d5dcfddf6325c6da033d</guid>
    <pubDate>Thu, 28 Jan 2010 13:01:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Photo</category>
        <category>building</category><category>Central Park</category><category>New York</category><category>photos</category>    
    <description>    &lt;p&gt;
Voici une petite série de photos de New York en noir et blanc...ou presque...
&lt;/p&gt;
&lt;p&gt;
La nuit, tous les building sont gris :
&lt;br /&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/building.jpg&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/.building_m.jpg&quot; alt=&quot;La nuit, tous les building sont gris...&quot; title=&quot;La nuit, tous les building sont gris..., janv. 2010&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Central Park sous la neige...
&lt;br /&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/central-park.jpg&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/.central-park_m.jpg&quot; alt=&quot;Central Park sous la neige&quot; title=&quot;Central Park sous la neige, janv. 2010&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
À l'intérieur de l'église Saint-Patrick :
&lt;br /&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/bougies.jpg&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/.bougies_m.jpg&quot; alt=&quot;Bougies&quot; title=&quot;Bougies, janv. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Une fontaine, la nuit :&lt;br /&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/fontaine.jpg&quot;&gt;&lt;img title=&quot;Fontaine, janv. 2010&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/pixel/2010/Ny/.fontaine_m.jpg&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/01/28/New-York-en-noir-et-blanc...#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/01/28/New-York-en-noir-et-blanc...#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/963</wfw:commentRss>
      </item>
    
  <item>
    <title>Un exemple d'utilisation de la bibliothèque Oled4d pour Arduino</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2010/01/12/Un-exemple-d-utilisation-de-la-biblioth%C3%A8que-Oled4d-pour-Arduino</link>
    <guid isPermaLink="false">urn:md5:80e296fb8ab178ac6bda1c3ae7276798</guid>
    <pubDate>Tue, 12 Jan 2010 15:01:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Electronique</category>
        <category>4d system</category><category>arduino</category><category>oled</category><category>Planet-Libre</category>    
    <description>&lt;p&gt;Voici un exemple très simple expliquant l'utilisation de la bibliothèque libre &lt;a href=&quot;http://github.com/hugokernel/Oled4D&quot; hreflang=&quot;en&quot;&gt;Oled4D&lt;/a&gt; dont j'ai parlé dans un &lt;a href=&quot;http://www.digitalspirit.org/blog/index.php/post/2009/12/14/Librairie-pour-afficheur-Oled4d-Arduino&quot;&gt;précédent billet&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Ce programme va afficher l'image ci-dessous&amp;nbsp;:&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/oled4d.jpg&quot; title=&quot;Oled 4D démo pour Arduino&quot;&gt;&lt;img src=&quot;http://www.digitalspirit.org/blog/public/.oled4d_m.jpg&quot; alt=&quot;Oled 4D démo pour Arduino&quot; title=&quot;Oled 4D démo pour Arduino, janv. 2010&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Le code source commenté est affiché en seconde partie de ce billet.&lt;/p&gt;


&lt;p&gt;Plus d'informations&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://github.com/hugokernel/Oled4D&quot; hreflang=&quot;en&quot;&gt;github.com/hugokernel/Oled4D&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.digitalspirit.org/wiki/projets/oled4d&quot; hreflang=&quot;fr&quot;&gt;Le wiki de DigitalSpirit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.digitalspirit.org/forums/viewforum.php?id=14&quot; hreflang=&quot;fr&quot;&gt;Le forum d'aide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;    &lt;p&gt;Voici les étapes à suivre pour tester cette bibliothèque&amp;nbsp;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Décompresser l'archive dans le dossier libraries&lt;/li&gt;
&lt;li&gt;Ouvrez l'environnement de développement Arduino&lt;/li&gt;
&lt;li&gt;Dans le menu Fichier &amp;gt; Exemples, il doit y avoir un menu Oled4D &amp;gt; Example &amp;gt; Demo, cliquez dessus pour l'ouvrir&lt;/li&gt;
&lt;li&gt;Compilez et chargez la cible&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Voici une partie du code source (la déclaration de data_image à été tronquée volontairement), l'exemple va afficher un écran bleu, affiche un cercle jaune, 1 tux, réalise 4 copier / coller de l'image du tux, affiche du texte «&amp;nbsp;Hello world&amp;nbsp;! » puis créé un polygone.&lt;/p&gt;

&lt;pre class=&quot;c&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;/*  Oled4d
    Programme d'exemple pour interface Arduino / Écran Oled de 4DSystems
 */&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #339933;&quot;&gt;#define RED     RGB(255, 0, 0)&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define GREEN   RGB(0, 255, 0)&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define BLUE    RGB(0, 0, 255)&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define YELLOW  RGB(255, 255, 0)&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define WHITE   RGB(255, 255, 255)&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define BLACK   RGB(0, 0, 0)&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #339933;&quot;&gt;#define SMALL   FONT_5X7&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define MEDIUM  FONT_8X8&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define BIG     FONT_8X12&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #339933;&quot;&gt;#include &amp;lt;NewSoftSerial.h&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#include &amp;lt;HardwareSerial.h&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;extern&lt;/span&gt; HardwareSerial Serial;
&lt;span style=&quot;color: #339933;&quot;&gt;#include &amp;lt;Oled4d.h&amp;gt;&lt;/span&gt;
&amp;nbsp;
NewSoftSerial serial&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// count : 1152&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define  DATA_IMG_WIDTH   24&lt;/span&gt;
&lt;span style=&quot;color: #339933;&quot;&gt;#define  DATA_IMG_HEIGHT  24&lt;/span&gt;
&lt;span style=&quot;color: #993333;&quot;&gt;char&lt;/span&gt; data_image&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0xc6, 0xc6, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xbe, 0xbe, 
    &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;...&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;;
&amp;nbsp;
&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt; setup&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;  
    Serial.&lt;span style=&quot;color: #202020;&quot;&gt;begin&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;9600&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Mode série&lt;/span&gt;
    pinMode&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt;, INPUT&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
    pinMode&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;, OUTPUT&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Configuration de l'interface série logicielle&lt;/span&gt;
    serial.&lt;span style=&quot;color: #202020;&quot;&gt;begin&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;9600&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt; loop&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;                     
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Créer l'objet en interface série logiciel&lt;/span&gt;
    Oled4dSoft oled &lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt; Oled4dSoft&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;serial, &lt;span style=&quot;color: #cc66cc;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Pour utiliser l'uart « hardware », procéder ainsi :&lt;/span&gt;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;//Oled4dHard oled = Oled4dHard(Serial, OLED_RESET_PIN);&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Initialise l'écran&lt;/span&gt;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;init&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Efface l'écran&lt;/span&gt;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;clear&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Fond d'écran bleu&lt;/span&gt;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;setBG&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;RGB&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;128&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Dessine un cercle&lt;/span&gt;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;drawCircle&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;64&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;64&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;20&lt;/span&gt;, RGB&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;255&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;255&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Affiche l'image&lt;/span&gt;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;displayImage&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, DATA_IMG_WIDTH, DATA_IMG_HEIGHT, COLORMODE_65K, data_image&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Copier / coller de l'image 5 fois&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #993333;&quot;&gt;int&lt;/span&gt; i &lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;; i &amp;lt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;5&lt;/span&gt;; i&lt;span style=&quot;color: #66cc66;&quot;&gt;++&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;
        oled.&lt;span style=&quot;color: #202020;&quot;&gt;screenCopyPaste&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, i &lt;span style=&quot;color: #66cc66;&quot;&gt;*&lt;/span&gt; DATA_IMG_WIDTH, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, DATA_IMG_WIDTH, DATA_IMG_HEIGHT&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
    &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Affiche du texte&lt;/span&gt;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;drawText&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;, SMALL, GREEN, &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Hello world !&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Dessine un polygone&lt;/span&gt;
    &lt;span style=&quot;color: #993333;&quot;&gt;char&lt;/span&gt; array&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;10&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;32&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;20&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;64&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;76&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;120&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;127&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;64&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;;
    oled.&lt;span style=&quot;color: #202020;&quot;&gt;drawPolygon&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #993333;&quot;&gt;sizeof&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;array&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt;, array, RGB&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;255&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;128&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;while&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;


&lt;p&gt;Voilà, je pense que le code est assez explicite, en cas de souci, n'oubliez pas le &lt;a href=&quot;http://www.digitalspirit.org/forums/viewforum.php?id=14&quot; hreflang=&quot;fr&quot;&gt;forum d'aide&lt;/a&gt;.&lt;/p&gt;</description>
    
          <enclosure url="http://www.digitalspirit.org/blog/public/src/Oled4d_Demo.zip"
      length="140790" type="application/zip" />
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2010/01/12/Un-exemple-d-utilisation-de-la-biblioth%C3%A8que-Oled4d-pour-Arduino#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2010/01/12/Un-exemple-d-utilisation-de-la-biblioth%C3%A8que-Oled4d-pour-Arduino#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/949</wfw:commentRss>
      </item>
    
  <item>
    <title>Liste des articles du magazine Elektor depuis 1978</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2009/12/28/Liste-des-articles-d-Elektor-depuis-1978</link>
    <guid isPermaLink="false">urn:md5:fa793ac47fea0dcfd7e6acce6878be37</guid>
    <pubDate>Mon, 28 Dec 2009 20:12:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Electronique</category>
        <category>article</category><category>elektor</category><category>liste</category><category>mag</category><category>magazines</category><category>revue</category>    
    <description>    &lt;p&gt;
Voici une &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.digitalspirit.org/lab/elec/elektor/&quot;&gt;petite application web&lt;/a&gt; regroupant dans un tableau toute la liste des articles du magazine Elektor depuis sa première édition en 1978...
&lt;/p&gt;
&lt;p&gt;
Bien sûr, loin de moi l'idée de vouloir diffuser le contenu des articles de cette très bonne revue, mais simplement le titre et pour les derniers magazines, leurs couvertures...
&lt;br /&gt;L'idée de la réalisation de cet outils est simplement venu du faite que le site web officiel d'Elektor est franchement pas très bien foutu et il est très difficile de trouver quoique ce soit dedans...J'espère donc que cela en aidera plus d'un...
&lt;/p&gt;
&lt;p&gt;
Voici à quoi cela ressemble (cliquez pour agrandir) :
&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/elektor-list_screenshot.png&quot;&gt;&lt;img title=&quot;Elektor liste, déc. 2009&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/.elektor-list_screenshot_m.jpg&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
Merci à &lt;a href=&quot;http://www.giacomazzi.fr/&quot;&gt;Michel Giacomazzi&lt;/a&gt;, qui, dans le group &lt;a hreflang=&quot;fr&quot; href=&quot;http://groups.google.com/group/fr.sci.electronique/topics?hl=fr&quot;&gt;fr.sci.electronique&lt;/a&gt; à diffuser les données collectées.&lt;br /&gt;Sur le site, il est possible de récupérer le fichier de données original au format &lt;a href=&quot;http://fr.wikipedia.org/wiki/Format_TSV&quot; hreflang=&quot;fr&quot;&gt;TSV&lt;/a&gt; ainsi que la base de données au format &lt;a href=&quot;http://fr.wikipedia.org/wiki/SQLite&quot; hreflang=&quot;fr&quot;&gt;Sqlite&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://www.digitalspirit.org/lab/elec/elektor/&quot; hreflang=&quot;fr&quot;&gt;Accéder au site&lt;/a&gt;.
&lt;/p&gt;</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2009/12/28/Liste-des-articles-d-Elektor-depuis-1978#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2009/12/28/Liste-des-articles-d-Elektor-depuis-1978#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/921</wfw:commentRss>
      </item>
    
  <item>
    <title>Librairie Arduino pour afficheur Oled : Oled4d</title>
    <link>http://www.digitalspirit.org/blog/index.php/post/2009/12/14/Librairie-pour-afficheur-Oled4d-Arduino</link>
    <guid isPermaLink="false">urn:md5:c1bdee6d17f20c6370a11b09e3ebece9</guid>
    <pubDate>Mon, 21 Dec 2009 11:09:00 +0100</pubDate>
    <dc:creator>hugo</dc:creator>
        <category>Electronique</category>
        <category>4d system</category><category>arduino</category><category>diy</category><category>gpl</category><category>libre</category><category>logiciel libre</category><category>oled</category><category>Oled 4d</category><category>Planet-Libre</category><category>rs232</category><category>série</category>    
    <description>    &lt;p&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/oled_4d.png&quot;&gt;&lt;img title=&quot;Oled 4D, déc. 2009&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/oled_4d.png&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://www.digitalspirit.org/blog/public/oled_4d_verso.jpg&quot;&gt;&lt;img title=&quot;Oled 4D, déc. 2009&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/oled_4d_verso.jpg&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Voici une librairie libre de gestion d'afficheur &lt;acronym title=&quot;Organic light-emitting diode&quot;&gt;&lt;a href=&quot;http://fr.wikipedia.org/wiki/Diode_%C3%A9lectroluminescente_organique&quot; hreflang=&quot;fr&quot;&gt;OLED&lt;/a&gt;&lt;/acronym&gt; de la société &lt;a href=&quot;http://www.4dsystems.com.au/&quot; hreflang=&quot;en&quot;&gt;4D Systems&lt;/a&gt; pour &lt;a href=&quot;http://arduino.cc/&quot; hreflang=&quot;en&quot;&gt;Arduino&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
Comme leur nom l'indique très bien, ils utilisent la technologie &lt;a hreflang=&quot;fr&quot; href=&quot;http://fr.wikipedia.org/wiki/Diode_%C3%A9lectroluminescente_organique&quot;&gt;OLED&lt;/a&gt; avec tous les avantages de cette technologie : pas besoin d'un rétroéclairage, ils ont un angle de vue de 180°, bonne consommation, très bon contraste, vous pouvez les trouver entre autres chez &lt;a href=&quot;http://www.lextronic.fr/P4470-afficheur-oled-couleur-uoled128-g1.html&quot; hreflang=&quot;fr&quot;&gt;Lextronic&lt;/a&gt; ou encore chez &lt;a href=&quot;http://www.sparkfun.com/commerce/product_info.php?products_id=8537&quot; hreflang=&quot;en&quot;&gt;Sparkfun&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Le jeux d'instructions n'est pas toujours très logique mais est assez complet, le principal défaut de ces afficheurs sont leur prix, à 65€ l'unité, j'imagine mal comment espérer faire de la petite série à un tel prix...
&lt;/p&gt;
&lt;p&gt;Ces afficheurs sont pilotables directement par le biais d'une connection série dans lequel on envoie directement des commandes assez hauts niveaux :
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Set Background Color&lt;/li&gt;
&lt;li&gt;Put Pixel&lt;/li&gt;
&lt;li&gt;Erase Screen&lt;/li&gt;
&lt;li&gt;Draw Rectangle&lt;/li&gt;
&lt;li&gt;Place String of ASCII Text&lt;/li&gt;
&lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Ils disposent également d'un port microsd permettant ainsi de charger des images ou encore des bouts de programmes, attention, cependant car n'espérez pas mettre des images jpg dans la microsd ou autre et les afficher comme ça, d'un coup, ça ne fonctionnera pas, tout d'abord, car le chip de 4D ne gère pas les images compressées mais uniquement des champs de bits et surtout car il n'y a aucune gestion de FAT gérée par le controleur, ainsi, il est possible d'accéder au contenu de la microsd depuis votre programme mais en brut : à vous de gérer la couche du système de fichiers... &lt;/p&gt;
&lt;h2&gt;Tester la libraire&lt;/h2&gt;
&lt;p&gt;Voici la marche à suivre pour tester cette librairie avec Arduino (&lt;ins&gt;la librairie peut parfaitement fonctionner hors du projet Arduino...&lt;/ins&gt;) :&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;
Créer un dossier Oled4d dans le dossier Libraries de votre installation Arduino et copiez dedans le fichier Oled4d.h.&lt;/li&gt;
&lt;li&gt;Créez un nouveau projet Arduino et copiez le contenu du fichier oled4d.pde dedans.&lt;/li&gt;
&lt;li&gt;Compilez le source, envoyez dans la cible et voilà, vous devriez avoir quelque chose de ce genre s'afficher :&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href=&quot;http://www.digitalspirit.org/blog/public/arduino_oled4d.jpg&quot;&gt;&lt;img title=&quot;Arduino avec afficheur Oled de 4DSystems, déc. 2009&quot; alt=&quot;&quot; src=&quot;http://www.digitalspirit.org/blog/public/.arduino_oled4d_m.jpg&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Oui, il s'agit bien de Tux ! ;)&lt;/p&gt;
&lt;h2&gt;Comment ça fonctionne ?&lt;/h2&gt;
&lt;p&gt;
Voici un petit bout de code :
&lt;/p&gt;
&lt;pre&gt;// Créer l'objet en interface série logiciel&lt;br /&gt;Oled4dSoft oled = Oled4dSoft(serial, 8);&lt;br /&gt;&lt;br /&gt;// Pour utiliser l'uart « hardware », procéder ainsi :&lt;br /&gt;//Oled4dHard oled = Oled4dHard(Serial, OLED_RESET_PIN);&lt;br /&gt;&lt;br /&gt;// Initialise l'écran&lt;br /&gt;oled.init();&lt;br /&gt;&lt;br /&gt;// Efface l'écran&lt;br /&gt;oled.clear();&lt;br /&gt;&lt;br /&gt;// Dessine un cercle&lt;br /&gt;oled.drawCircle(64, 64, 20, RGB(255, 255, 0));&lt;br /&gt;&lt;br /&gt;// Affiche du texte&lt;br /&gt;oled.drawText(1, 3, SMALL, GREEN, &quot;Hello world !&quot;);&lt;/pre&gt;
&lt;p&gt;
Voilà, je pense que l'exemple est assez explicite et logique...
&lt;/p&gt;
&lt;p&gt;
Vour remarquerez qu'il est possible de passer par l'uart intégré à l'Atmel ou de passer par l'uart logiciel avec la libraire &lt;a href=&quot;http://arduiniana.org/libraries/NewSoftSerial/&quot; hreflang=&quot;en&quot;&gt;NewSoftSerial&lt;/a&gt; (cette librairie dispose de fonctions avancées et est bien supérieure à la librairie d'uart fourni par défaut dans le projet Arduino).
&lt;/p&gt;
&lt;h2&gt;Démo&lt;/h2&gt;
&lt;p&gt;
Voici une petite démo affichant en vrac des lignes, des triangles, des cercles, des polygones, des rectangles...
&lt;br /&gt;
La vidéo reflète assez mal les couleurs de l'écran qui sont bien vives en réel.
&lt;/p&gt;
&lt;div class=&quot;external-media&quot; style=&quot;margin: 1em auto; text-align: center;&quot;&gt;
&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;http://www.vimeo.com/moogaloop.swf?clip_id=8001458&amp;amp;server=www.vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;color=00ADEF&amp;amp;fullscreen=1&quot; height=&quot;302&quot; width=&quot;400&quot;&gt;	&lt;param name=&quot;quality&quot; value=&quot;best&quot; /&gt;
&lt;param name=&quot;allowfullscreen&quot; value=&quot;true&quot; /&gt;
&lt;param name=&quot;scale&quot; value=&quot;showAll&quot; /&gt;
&lt;param name=&quot;movie&quot; value=&quot;http://www.vimeo.com/moogaloop.swf?clip_id=8001458&amp;amp;server=www.vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;color=00ADEF&amp;amp;fullscreen=1&quot; /&gt;
&lt;p&gt;Écran Oled de 4D System piloté par Arduino&lt;/p&gt;
&lt;/object&gt;
&lt;/div&gt;
&lt;h2&gt;Futures évolutions&lt;/h2&gt;
&lt;p&gt;
Actuellement, cette librairie supporte uniquement les instructions standards (General Command Set), les autres (Extended Command Set), qui permettent entre autre un accès au contenu de la microsd, ne sont pas encore gérées mais le plus gros du travail est fait...
&lt;/p&gt;
&lt;h2&gt;Téléchargement&lt;/h2&gt;
&lt;p&gt;
Cette librairie est mise à disposition sous license GPL.&lt;br /&gt;
Vous pouvez télécharger la toute dernière version de cette librairie depuis mon compte &lt;a href=&quot;http://github.com/&quot;&gt;GitHub&lt;/a&gt; à l'adresse suivante : &lt;a hreflang=&quot;en&quot; href=&quot;http://github.com/hugokernel/Oled4D&quot;&gt;http://github.com/hugokernel/Oled4D&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Je mettrai à jour également la page sur le wiki : &lt;a href=&quot;http://www.digitalspirit.org/wiki/projets/oled4d&quot; hreflang=&quot;fr&quot;&gt;http://www.digitalspirit.org/wiki/projets/oled4d&lt;/a&gt;.
&lt;/p&gt;</description>
    
    
    
          <comments>http://www.digitalspirit.org/blog/index.php/post/2009/12/14/Librairie-pour-afficheur-Oled4d-Arduino#comment-form</comments>
      <wfw:comment>http://www.digitalspirit.org/blog/index.php/post/2009/12/14/Librairie-pour-afficheur-Oled4d-Arduino#comment-form</wfw:comment>
      <wfw:commentRss>http://www.digitalspirit.org/blog/index.php/feed/atom/comments/900</wfw:commentRss>
      </item>
    
</channel>
</rss>