Différences entre versions de « Utilisateur:Admin »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
(232 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
== Projet en cours ==
+
== Liens Perso / Idées projets ==
* [[s4a-index|Scratch Pour Arduino]] (projet en cours)
+
* [[glossaire|Glossaire et terminologies diverses]]
== Traduction à prévoir ==
+
* [[Python-Turtle-Online|Python Turtle en ligne]]
* [http://learn.adafruit.com/character-lcds Traduction pour LCD 2x16]
+
* [[Admin-Wiki-Projects|Projets Wiki]]
** [http://learn.adafruit.com/adafruit-arduino-lesson-11-lcd-displays-1 Arduino Lesson 11. LC Displays - Part 1]
 
** [http://learn.adafruit.com/adafruit-arduino-lesson-12-lcd-displays-part-2 Arduino Lesson 12. LCD Displays - Part 2]
 
** [http://learn.adafruit.com/drive-a-16x2-lcd-directly-with-a-raspberry-pi LCD sur Raspberry Pi]
 
* EL Wire
 
** [http://learn.adafruit.com/el-workshop/overview ELWire Workshop]
 
** [http://learn.adafruit.com/tron-bag Tron-Bag]
 
* Arduino Wireless Shield + Proto [http://mchobby.be/PrestaShop/product.php?id_product=189 voir fiche produit]
 
* ADF-MICROSD-BRK [http://www.ladyada.net/products/microsd discusses microSD cards, wiring and how to use this breakout board with an Arduino]
 
* [http://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable using cable console on Raspi] pour USB-SERIE-TTL
 
* [http://learn.adafruit.com/wave-shield-voice-changer Wave Shield Voice Changer] pour AMP-3.7w-ClassD
 
* [http://www.ladyada.net/products/rfidnfc/index.html PN532 RFID/NFC Tutorial] pour RFID/NFC-SHIELD
 
  
== Toolbox ==
+
Idées projets:
Quelques outils pour créer plus facilement du contenu sur ce wiki.
+
* Maker PI RP2040 + Zumo Robot
 +
 
 +
Idées Blog:
 +
* Maker Pi RP2040 (Cytron) + Romi
 +
 
 +
== MediaWiki reference ==
 +
* '''Formatting in Wiki''' : [https://www.mediawiki.org/wiki/Help:Formatting/fr MediaWiki Formatting]
 +
* '''Tweeki''' : [https://tweeki.kollabor.at/wiki/Welcome Tweeki = Mediawiki + Twitter Bootstrap]
 +
* '''WikiMedia API''' : [https://www.mediawiki.org/wiki/API:Get_the_contents_of_a_page API documentation]
 +
<nowiki>https://wiki.mchobby.be/index.php?title=Accueil&action=XXX</nowiki>
 +
Avec ''XXX'' pouvant recevoir les valeurs suivantes:
 +
* '''raw''' : contenu de la page wiki tel que présenté dans le volet "edit"
 +
* '''render''' : rendu HTML sans interface utilisateur et sans inclusion CSS. Idéal pour inclure dans un IFrame ou compiler un PDF.
 +
* info : Affiche des informations sur la page
 +
* purge : efface le cache pour la page, force la recompilation depuis la source.
 +
* history : affiche l'historique de modification de la page
 +
* Voir aussi [https://www.mediawiki.org/wiki/Manual:Parameters_to_index.php#Actions Actions sur MediaWiki]
 +
 
 +
== Specific Ressource ==
 +
=== Image ===
 +
<nowiki>[[Fichier:image.png]]
 +
[[Fichier:image.png|240px]]</nowiki>
 +
 
 +
=== ADF Images ===
 +
<nowiki>{{ADFImage|name.jpg}}
 +
{{ADFImage|name.jpg|250px}}</nowiki>
 +
 
 +
=== Pololu ===
 +
Infobox pour page de garde compilée avec {{fname|compile_tuto.py}} :
 +
 
 +
<nowiki>{{Pololu-Zumo-Shield-Arduino-NAV}}
 +
{{infobox tuto
 +
  | image = Pololu-Zumo-Shield-Arduino-01.jpg
 +
  | title = Guide utilisateur du Robot Zumo Pololu
 +
  | subtitle = Un guide complet et abordable pour assembler, utiliser et exploiter rapidement votre Robot Zumo.
 +
  | version = 0.1
 +
}}</nowiki>
 +
 
 +
Image Pololu avec crédit et description
 +
 
 +
<nowiki>{{POLImage|name.jpg|250px|descr}}</nowiki>
  
*[http://www.dannyg.com/examples/res2/resistor.htm Graphical Resistance Calculator]
+
Lien vers produit Pololu:
*[http://commons.wikimedia.org/wiki/Commons:Tools/Commonist Commonist uploaded (a tester)]
+
 +
* {{pl|447|châssis Zumo}} {{polpl|1418}}
  
* [http://www.asciitable.com/ Codes ASCII]
+
<nowiki>{{pl|447|châssis Zumo}} {{polpl|1418}}</nowiki>
  
 
== MediaWiki extension ==
 
== MediaWiki extension ==
* [http://www.mediawikiwidgets.org/Iframe MediaWiki IFrame Widget] et son [[SmsCommand#R.C3.A9sultat_en_image|exemple sur MCHobby]]
+
=== Template MCHobby ===
* Box
+
* MCH-Aider
** [http://en.wikipedia.org/wiki/Template:Ambox AmBox] et [http://www.mwusers.com/forums/showthread.php?10179-How-to-impliment-ambox ses instructions d'installation] la documentation du modèle est [[Modèle:Ambox/doc|Modèle:Ambox/doc]]
+
 
** [http://en.wikipedia.org/wiki/Template:Tmbox TmBox] qui peut être obtenu [http://en.wikipedia.org/wiki/Special:Export ici], pour visualiser, faire une recherche sur le modèle [[Modèle:Tmbox/doc|Modèle:Tmbox/doc]]<br />
+
* MCH-Accord
** Visiblement besoin d'un parser pour "#ifeq:". Pour plus d'info voir [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions/fr Extension:ParserFunctions]. Le parseur est diponible dans la [http://wiki.spiralknights.com/index.php?title=MediaWiki:Common.css&redirect=no version 1.16] (visiblement pas la 1.17!)
+
* ADF-Accord, ARDUINO-Accord, GOF-Accord, ECE-Accord
** Rechercher la page MediaWiki:Common.css et ajouter une partie du style CSS mentionné [http://wiki.spiralknights.com/index.php?title=MediaWiki:Common.css&redirect=no ici]
+
 
 +
=== syntaxhighlight ===
 +
 
 +
<nowiki><syntaxhighlight lang="python">
 +
#!/usr/bin/python
 +
 
 +
# Simple RGBMatrix example, using only Clear(), Fill() and SetPixel().
 +
# These functions have an immediate effect on the display; no special
 +
# refresh operation needed.
 +
# Requires rgbmatrix.so present in the same directory.
 +
 
 +
import time
 +
from rgbmatrix import Adafruit_RGBmatrix
 +
</syntaxhighlight></nowiki>
 +
 
 +
<syntaxhighlight lang="python">
 +
#!/usr/bin/python
 +
 
 +
# Simple RGBMatrix example, using only Clear(), Fill() and SetPixel().
 +
# These functions have an immediate effect on the display; no special
 +
# refresh operation needed.
 +
# Requires rgbmatrix.so present in the same directory.
 +
 
 +
import time
 +
from rgbmatrix import Adafruit_RGBmatrix
 +
</syntaxhighlight>
 +
 
 +
Template condensé
 +
<nowiki><syntaxhighlight lang="python">
 +
x
 +
</syntaxhighlight></nowiki>
 +
 
 +
<nowiki><syntaxhighlight lang="c">
 +
x
 +
</syntaxhighlight></nowiki>
 +
 
 +
=== Round Box ===
 +
<nowiki><div style="border: 1px solid #FF9933; background-color: #FFCC66; padding-top: 10px; padding-bottom: 10px; padding-left:10px; border-radius: 15px; margin-bottom: 10px; text-align: left;">Traduction réalisée par Meurisse. D pour [http://shop.mchobby.be shop.MCHobby.be] - '''Licence CC-BY-SA.'''<br />
 +
'''Crédit de traduction:''' Toute référence, mention ou extrait de cette traduction doit également être explicitement accompagné du crédit de traduction suivant : «  Traduction par MCHobby ([http://shop.mchobby.be shop.MCHobby.be]) » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.</div></nowiki>
 +
 
 +
<div style="border: 1px solid #FF9933; background-color: #FFCC66; padding-top: 10px; padding-bottom: 10px; padding-left:10px; border-radius: 15px; margin-bottom: 10px; text-align: left;">Traduction réalisée par Meurisse. D pour [http://shop.mchobby.be shop.MCHobby.be] - '''Licence CC-BY-SA.'''<br />
 +
'''Crédit de traduction:''' Toute référence, mention ou extrait de cette traduction doit également être explicitement accompagné du crédit de traduction suivant : «  Traduction par MCHobby ([http://shop.mchobby.be shop.MCHobby.be]) » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.</div>
 +
 
 +
<nowiki><div style="border: 1px solid #BAC6C7; background-color: #F1BBBB; padding-top: 10px; padding-bottom: 10px; padding-left:10px; border-radius: 15px; margin-bottom: 10px; text-align: left;">Un message important à ne pas rater!</div></nowiki>
 +
 
 +
<div style="border: 1px solid #BAC6C7; background-color: #F1BBBB; padding-top: 10px; padding-bottom: 10px; padding-left:10px; border-radius: 15px; margin-bottom: 10px; text-align: left;">Un message important à ne pas rater!</div>
 +
 
 +
<nowiki><div style="background-color: #B6F7B8; padding: 8px 10px; border-radius: 0; border: 1px solid #30C164; margin-left: 10px; margin-bottom:10px; border-radius:5px;">Encore un autre modèle</div></nowiki>
 +
 
 +
<div style="background-color: #B6F7B8; padding: 8px 10px; border-radius: 0; border: 1px solid #30C164; margin-left: 10px; margin-bottom:10px; border-radius:5px;">Encore un autre modèle</div>
 +
 
 +
Voyez le [http://www.w3schools.com/tags/ref_colorpicker.asp Color Picker de W3Schools] pour les couleurs ;-)
 +
 
 +
=== Div Box ===
 +
 
 +
<nowiki>{{dbox-orange| dbox-orange example }}</nowiki>
 +
 
 +
{{dbox-orange| dbox-orange example }}
 +
 
 +
=== Boxes ===
 +
* [http://en.wikipedia.org/wiki/Template:Ambox AmBox] et [http://www.mwusers.com/forums/showthread.php?10179-How-to-impliment-ambox ses instructions d'installation] la documentation du modèle est [[Modèle:Ambox/doc|Modèle:Ambox/doc]]
 +
* [http://en.wikipedia.org/wiki/Template:Tmbox TmBox] qui peut être obtenu [http://en.wikipedia.org/wiki/Special:Export ici], pour visualiser, faire une recherche sur le modèle [[Modèle:Tmbox/doc|Modèle:Tmbox/doc]]<br />
 +
* Visiblement besoin d'un parser pour "#ifeq:". Pour plus d'info voir [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions/fr Extension:ParserFunctions]. Le parseur est diponible dans la [http://wiki.spiralknights.com/index.php?title=MediaWiki:Common.css&redirect=no version 1.16] (visiblement pas la 1.17!)
 +
* Rechercher la page MediaWiki:Common.css et ajouter une partie du style CSS mentionné [http://wiki.spiralknights.com/index.php?title=MediaWiki:Common.css&redirect=no ici]
 +
* [https://commons.wikimedia.org/wiki/Category:Ambox Images pour AmBox]
  
 
Exemple TmBox
 
Exemple TmBox
{{tmbox | text = Some text.}}
+
{{tmbox | text = Some tmbox text.}}
  
 
{{tmbox | text = En cours de traduction}}
 
{{tmbox | text = En cours de traduction}}
 
  <nowiki>{{tmbox | text = En cours de traduction}}</nowiki>
 
  <nowiki>{{tmbox | text = En cours de traduction}}</nowiki>
 +
 +
{{tmbox
 +
| type = speedy
 +
| text = Pas Op! Une betise tu va bientôt faire une fois}}
 +
<nowiki>{{tmbox | type = speedy | text = Pas Op! Une betise tu va bientôt faire une fois}}</nowiki>
  
 
Exemple AmBox
 
Exemple AmBox
Ligne 48 : Ligne 147 :
 
| text      = Text for a big box, for the top of articles.
 
| text      = Text for a big box, for the top of articles.
 
}}
 
}}
 +
{{ambox-stop | text = Ne surtout pas faire cette bêtise!!! }}
 
  <nowiki>{{Ambox
 
  <nowiki>{{Ambox
 
| type      = delete
 
| type      = delete
Ligne 53 : Ligne 153 :
 
| textstyle  = color: red; font-weight: bold; font-style: italic;
 
| textstyle  = color: red; font-weight: bold; font-style: italic;
 
| text      = Text for a big box, for the top of articles.
 
| text      = Text for a big box, for the top of articles.
}}</nowiki>
+
}}
 +
 
 +
{{ambox-stop | text = Ne surtout pas faire cette bêtises!!! }}
 +
</nowiki>
 +
 
 +
=== IFrame (vidéo) ===
 +
* [http://www.mediawikiwidgets.org/Iframe MediaWiki IFrame Widget] et son [[SmsCommand#R.C3.A9sultat_en_image|exemple sur MCHobby]]
  
 
Exemple de IFrame
 
Exemple de IFrame
  
 
{{#Widget:Iframe
 
{{#Widget:Iframe
|url=http://www.youtube.com/embed/lmoz-XrSfEw
+
|url=https://www.youtube.com/embed/lmoz-XrSfEw
 
|width=420
 
|width=420
 
|height=315
 
|height=315
Ligne 64 : Ligne 170 :
 
}}
 
}}
 
  <nowiki>{{#Widget:Iframe
 
  <nowiki>{{#Widget:Iframe
|url=http://www.youtube.com/embed/lmoz-XrSfEw
+
|url=https://www.youtube.com/embed/lmoz-XrSfEw
 
|width=420
 
|width=420
 
|height=315
 
|height=315
Ligne 70 : Ligne 176 :
 
}}</nowiki>
 
}}</nowiki>
  
== Navigateur ==
+
== Navigation & Formatage ==
 +
 
 +
=== Navigateur ===
 
Petite structure permettant de naviguer plus facilement dans les articles composés de plusieurs pages.
 
Petite structure permettant de naviguer plus facilement dans les articles composés de plusieurs pages.
  
Ligne 77 : Ligne 185 :
 
  <nowiki>{{TFT-SHIELD-NAV}}</nowiki>
 
  <nowiki>{{TFT-SHIELD-NAV}}</nowiki>
  
Contenu du template
+
Anciennement, le contenu du template était:
  
 
   <nowiki><div style="position: absolute; right:10px; background-color: #f6f6f6; padding-right: 5px; border: 1px #d8d8d8 solid;">
 
   <nowiki><div style="position: absolute; right:10px; background-color: #f6f6f6; padding-right: 5px; border: 1px #d8d8d8 solid;">
Ligne 89 : Ligne 197 :
 
</div>
 
</div>
 
</nowiki>
 
</nowiki>
 +
 +
Il est maintenant remplacé par l'utilisation du template <nowiki>{{TUTO-NAV}}</nowiki> prenant en charge l'affichage des éléments HTML du navigateur.
 +
 +
Voici donc le nouveau contenu de <nowiki>{{TFT-SHIELD-NAV}}</nowiki>
 +
 +
<nowiki>{{TUTO-NAV|
 +
* Introduction 
 +
** [[Ecran tactile 2.8" TFT]]
 +
* Librairie GFX
 +
** [[Tutoriel Librairie Adafruit GFX|Tutoriel GFX]]
 +
** [[Tutoriel Librairie Adafruit GFX - Couleurs 16 Bits|Couleurs 16 bits]]
 +
* Acheter
 +
** {{pl|16|Ecran tactile 2.8"}}
 +
}}</nowiki>
 +
 +
=== Bas de page ===
 +
Utilise la technique du template reprenant la nomenclature suivante:
 +
 +
<nowiki>{{TFT-SHIELD-TRAILER}}</nowiki>
 +
 +
Qui contient généralement:
 +
 +
<nowiki><hr />
 +
<small>Source: [http://learn.adafruit.com/wave-shield-voice-changer/overview]
 +
 +
''Réalisé avec l'aide de Mr Carette J. à qui nous remettons tous nos remerciements.''</small>
 +
 +
{{ADF-Accord}}
 +
 +
{{MCH-Accord}}
 +
</nowiki>
 +
 +
=== Bloc ===
 +
 +
==== Bloc Etroit ====
 +
Les blocs permettent de mettre en place une section plus étroite pour placer du texte à gauche du navigateur... sans devoir utiliser soit même une série de <br />
 +
 +
<nowiki>{{bloc-etroit
 +
  |text=Le texte a faire paraitre dans le bloc :-) avec toute sorte de truc Wiki
 +
}}</nowiki>
 +
 +
==== Bloc Download ====
 +
Bloc présentant un aspect plus agréable qu'un simple lien. Le texte de la boite passe également à 120%.
 +
 +
{{download-box|Téléchargez Raspbian PiTFT 2.8"|http://adafruit-download.s3.amazonaws.com/PiTFT28R_raspbian140620_2014_08_25.zip}}
 +
 +
<nowiki>{{download-box|Téléchargez Raspbian PiTFT 2.8"|http://adafruit-download.s3.amazonaws.com/PiTFT28R_raspbian140620_2014_08_25.zip}}</nowiki>
 +
 +
==== Bloc YouTube ====
 +
Bloc présentant un aspect plus agréable qu'un simple lien. Le texte de la boite passe également à 120%.
 +
 +
{{youtube-box|Wiring the cansat boards|https://youtu.be/dmc9noI2WAs}}
 +
 +
<nowiki>{{youtube-box|Wiring the cansat boards|https://youtu.be/dmc9noI2WAs}}</nowiki>
 +
 +
=== Formatage de texte ===
 +
Hormis le formatage standard de médiawiki, voici quelques petits extra:
 +
 +
Comment mettre {{underline|un texte en souligné}} ;-)
 +
<nowiki>Comment mettre {{underline|un texte en souligné}}</nowiki>
 +
 +
Comment mettre {{overline|un text en overline}}
 +
<nowiki>Comment mettre {{overline|un text en overline}}</nowiki>
 +
 +
Comment afficher {{fname|LeNomDuneFonction()}} ou du code en courrier :-)
 +
 +
<nowiki>Comment afficher {{fname|LeNomDuneFonction()}} en courrier</nowiki>
 +
 +
=== Exemple de page type ===
 +
 +
<nowiki>{{Voice-Changer-NAV}}
 +
 +
{{traduction}}
 +
 +
{{bloc-etroit
 +
  |text=Blablabla
 +
}}
 +
 +
{{Voice-Changer-TRAILER}}</nowiki>
 +
 +
Ce qui produit:
 +
{{Voice-Changer-NAV}}
 +
 +
{{traduction}}
 +
 +
{{bloc-etroit
 +
  |text=Blablabla
 +
}}
 +
 +
{{Voice-Changer-TRAILER}}
 +
 +
== Liste des tutoriels ==
 +
 +
Flag spéciaux:
 +
* traduction=1 : permet d'indiquer un banner "under construction" à la place de l'image du tutoriel. Affiche également le texte "<font color="red">TRAVAUX EN COURS.</font>" en tête de description.
 +
* link=INTERNAL_PAGE_CODE : a utiliser pour une page tuto complète.
 +
* url=http://xxx : a utiliser à la place de {{fname|link}} pour pointer vers une page externe au Wiki
 +
 +
<nowiki>{{ttuto-begin}}
 +
 +
{{ttuto
 +
  |label=Capteur de courant
 +
  |descr=Mesure de puissance/energie dans une installation électrique.
 +
  |img=Senseur-Courant.jpg
 +
  |link=SENSEUR-COURANT
 +
  |traduction=1
 +
}}
 +
 +
{{ttuto
 +
  |label=Arduino Yun
 +
  |descr=Arduino '''Yun''', spécialiste du WIFI et du Net. <font color="red">avec traduction de la librairie en français</font>.
 +
  |img=tlogo-yun.jpg
 +
  |link=Arduino Yun
 +
}}
 +
 +
-- AUSSI AVEC LIEN VERS GITHUB --
 +
 +
{{ttuto
 +
  |label=MOD-Wii-Chuck [UEXT]
 +
  |descr=Contrôleur de jeu I2C Wii Nunchuck. Exploiter le sous MicroPython (via port UEXT).
 +
  |img=tlogo-mod-wii-nunchuck.png
 +
  |url=https://github.com/mchobby/esp8266-upy/tree/master/modwii
 +
}}
 +
 +
{{ttuto-end}}</nowiki>
 +
 +
{{ttuto-begin}}
 +
 +
{{ttuto
 +
  |label=Capteur de courant
 +
  |descr=Mesure de puissance/energie dans une installation électrique.
 +
  |img=Senseur-Courant.jpg
 +
  |link=SENSEUR-COURANT
 +
  |traduction=1
 +
}}
 +
 +
{{ttuto
 +
  |label=Arduino Yun
 +
  |descr=Arduino '''Yun''', spécialiste du WIFI et du Net.
 +
  |img=tlogo-yun.jpg
 +
  |link=Arduino Yun
 +
}}
 +
 +
{{ttuto
 +
  |label=MOD-Wii-Chuck [UEXT]
 +
  |descr=Contrôleur de jeu I2C Wii Nunchuck. Exploiter le sous MicroPython (via port UEXT).
 +
  |img=tlogo-mod-wii-nunchuck.png
 +
  |url=https://github.com/mchobby/esp8266-upy/tree/master/modwii
 +
}}
 +
 +
{{ttuto-end}}
  
 
== TABLES ==
 
== TABLES ==
Ligne 99 : Ligne 358 :
 
   |descr=Afficheur LCD (2x16 caractères)
 
   |descr=Afficheur LCD (2x16 caractères)
 
   |img=afficheur-lcd-afficheur.jpg
 
   |img=afficheur-lcd-afficheur.jpg
   |link=http://mchobby.be/PrestaShop/product.php?id_product=176
+
   |link=http://shop.mchobby.be/product.php?id_product=176
 
   |qty=1
 
   |qty=1
 
}}
 
}}
Ligne 107 : Ligne 366 :
 
   |descr=pot. 10 KOhms linéraire<br />Inclus avec l'afficheur LCD
 
   |descr=pot. 10 KOhms linéraire<br />Inclus avec l'afficheur LCD
 
   |img=afficheur-lcd-pot.jpg
 
   |img=afficheur-lcd-pot.jpg
   |link=http://mchobby.be/PrestaShop/product.php?id_product=33
+
   |link=http://shop.mchobby.be/product.php?id_product=33
 
   |qty=1
 
   |qty=1
 
}}
 
}}
Ligne 121 : Ligne 380 :
 
   |descr=Afficheur LCD (2x16 caractères)
 
   |descr=Afficheur LCD (2x16 caractères)
 
   |img=afficheur-lcd-afficheur.jpg
 
   |img=afficheur-lcd-afficheur.jpg
   |link=http://mchobby.be/PrestaShop/product.php?id_product=176
+
   |link=http://shop.mchobby.be/product.php?id_product=176
 
   |qty=1
 
   |qty=1
 
}}
 
}}
Ligne 129 : Ligne 388 :
 
   |descr=pot. 10 KOhms linéraire<br />Inclus avec l'afficheur LCD
 
   |descr=pot. 10 KOhms linéraire<br />Inclus avec l'afficheur LCD
 
   |img=afficheur-lcd-pot.jpg
 
   |img=afficheur-lcd-pot.jpg
   |link=http://mchobby.be/PrestaShop/product.php?id_product=33
+
   |link=http://shop.mchobby.be/product.php?id_product=33
 
   |qty=1
 
   |qty=1
 
}}
 
}}
  
 
{{parts-end}}
 
{{parts-end}}
 +
 +
=== parts-item prédéfini ===
 +
Plutôt que recoder systématiquement toutes les informations d'un part-item, il est également possible d'utiliser l'un des [[Liste des parts-items parts-item|prédéfini]].
 +
 +
''' Exemple :'''
 +
<nowiki>{{parts-begin}}
 +
{{parts-item-pi|qty=1}}
 +
{{parts-end}}</nowiki>
 +
 +
{{parts-begin}}
 +
{{parts-item-pi|qty=1}}
 +
{{parts-end}}
 +
 +
'''Modèle pour Création :'''
 +
<nowiki>{{parts-item
 +
  |name=Raspberry Pi
 +
  |descr=Raspberry Pi<br />{{{note| }}}
 +
  |img=part-item-pi.jpg
 +
  |link=http://mchobby.be/PrestaShop/product.php?id_product=141
 +
  |qty={{{qty}}}
 +
}}</nowiki>
 +
 +
'''Liste :'''
 +
 +
[[Liste des parts-items]]
 +
 +
=== Assemblage - Tables ===
 +
décrit les opérations d'assemblages
 +
 +
{{asm-begin}}
 +
 +
{{asm-row|img=part-item-pi.jpg}}
 +
{{asm-text}} Le texte de description ici
 +
 +
{{asm-row|img=afficheur-lcd-afficheur.jpg|size=250px}}
 +
{{asm-img|img=part-item-pi.jpg}}
 +
{{asm-text}} Avec paramètre additionnel qui réduit l'image à 250px (size=250px)
 +
 +
Autre ligne
 +
* Et bullet list :-)
 +
{{asm-end}}
 +
 +
<nowiki>
 +
{{asm-begin}}
 +
 +
{{asm-row|img=part-item-pi.jpg}}
 +
{{asm-text}} Le texte de description ici
 +
 +
{{asm-row|img=afficheur-lcd-afficheur.jpg|size=250px}}
 +
{{asm-img|img=part-item-pi.jpg}}
 +
{{asm-text}} Avec paramètre additionnel qui réduit l'image à 250px (size=250px)
 +
 +
Autre ligne
 +
* Et bullet list :-)
 +
{{asm-end}}</nowiki>
  
 
=== WikiMedia - Tables ===
 
=== WikiMedia - Tables ===
 
* [http://excel2wiki.net/wikipedia.php SpreadSheet to Wikitable converter] (''fonctionne aussi avec un copy d'une table HTML'')
 
* [http://excel2wiki.net/wikipedia.php SpreadSheet to Wikitable converter] (''fonctionne aussi avec un copy d'une table HTML'')
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
| align="center" | Titre1
 +
| align="center" | Description
 +
|- style="font-size: 90%"
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
|- style="font-size: 90%"
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
|- style="font-size: 90%"
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
|}
 +
 +
<nowiki>{| class="wikitable" border="1"
 +
|-
 +
| align="center" | Titre1
 +
| align="center" | Description
 +
|- style="font-size: 90%"
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
|- style="font-size: 90%"
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
|- style="font-size: 90%"
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
|}</nowiki>
 +
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
| align="center" | Titre1
 +
| align="center" | Titre2
 +
| align="center" | Description
 +
|- style="font-size: 90%"
 +
| align="left" | ww
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
|- style="font-size: 90%"
 +
| align="left" | ww
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
|- style="font-size: 90%"
 +
| align="left" | ww
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
|}
 +
 +
<nowiki>
 +
{| class="wikitable" border="1"
 +
|-
 +
| align="center" | Titre1
 +
| align="center" | Titre2
 +
| align="center" | Description
 +
|- style="font-size: 90%"
 +
| align="left" | ww
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
|- style="font-size: 90%"
 +
| align="left" | ww
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
|- style="font-size: 90%"
 +
| align="left" | ww
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
|}</nowiki>
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
| align="center" | Titre1
 +
| align="center" | Titre2
 +
| align="center" | Titre3
 +
| align="center" | Description
 +
|- style="font-size: 90%"
 +
| align="left" | ww
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
| align="left" | zzzz
 +
|- style="font-size: 90%"
 +
| align="left" | ww
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
| align="left" | zzzz
 +
|- style="font-size: 90%"
 +
| align="left" | ww
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
| align="left" | zzzz
 +
|}
 +
 +
<nowiki>{| class="wikitable" border="1"
 +
|-
 +
| align="center" | Titre1
 +
| align="center" | Titre2
 +
| align="center" | Titre3
 +
| align="center" | Description
 +
|- style="font-size: 90%"
 +
| align="left" | ww
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
| align="left" | zzzz
 +
|- style="font-size: 90%"
 +
| align="left" | ww
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
| align="left" | zzzz
 +
|- style="font-size: 90%"
 +
| align="left" | ww
 +
| align="left" | xx
 +
| align="left" | yyyy
 +
| align="left" | zzzz
 +
|}</nowiki>
  
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Ligne 230 : Ligne 660 :
 
</nowiki>
 
</nowiki>
  
== Editing Tools ==
+
=== Aligner des tables ===
 +
{| class="wikitable" border="1" style="display: inline-block;"
 +
|-
 +
| align="center" | '''Bouton'''
 +
| align="center" | '''Entrées PiGrrl 1'''
 +
| align="center" | '''Entrées Arduino'''
 +
|- style="font-size: 90%"
 +
| align="center" | A
 +
| align="center" | B1
 +
| align="center" | D2
 +
|- style="font-size: 90%"
 +
| align="center" | +
 +
| align="center" | B2
 +
| align="center" | D3
 +
|}
 +
 
 +
{| class="wikitable" border="1" style="display: inline-block;"
 +
|-
 +
| align="center" | '''Bouton'''
 +
| align="center" | '''Entrées PiGrrl 2'''
 +
| align="center" | '''Entrées Arduino'''
 +
|- style="font-size: 90%"
 +
| align="center" | 2
 +
| align="center" | B1
 +
| align="center" | D7
 +
|- style="font-size: 90%"
 +
| align="center" | 1
 +
| align="center" | B2
 +
| align="center" | D8
 +
|}
 +
 
 +
<nowiki>{| class="wikitable" border="1" style="display: inline-block;"
 +
|-
 +
| align="center" | '''Bouton'''
 +
| align="center" | '''Entrées PiGrrl 1'''
 +
| align="center" | '''Entrées Arduino'''
 +
|- style="font-size: 90%"
 +
| align="center" | A
 +
| align="center" | B1
 +
| align="center" | D2
 +
|- style="font-size: 90%"
 +
| align="center" | +
 +
| align="center" | B2
 +
| align="center" | D3
 +
|}
 +
 
 +
{| class="wikitable" border="1" style="display: inline-block;"
 +
|-
 +
| align="center" | '''Bouton'''
 +
| align="center" | '''Entrées PiGrrl 2'''
 +
| align="center" | '''Entrées Arduino'''
 +
|- style="font-size: 90%"
 +
| align="center" | 2
 +
| align="center" | B1
 +
| align="center" | D7
 +
|- style="font-size: 90%"
 +
| align="center" | 1
 +
| align="center" | B2
 +
| align="center" | D8
 +
|}
 +
</nowiki>
 +
 
 +
== Liens Produits & Categ ==
 +
=== Hyperlien produit ===
 +
Permet de créer rapidement & facilement un lien produit vers le WebShop à partir de l'ID produit.
 +
 
 +
Utilise le code '''PL''' en minuscule pour ''Product Link''.
 +
 
 +
<nowiki>{{pl|_ID_|_texte_}}</nowiki>
 +
 
 +
Exemple:
 +
<nowiki>{{pl|345|The Pi-Rack de la mort qui tue}}</nowiki>
 +
 
 +
{{pl|345|The Pi-Rack de la mort qui tue}}
 +
 
 +
=== Hyperlien Categorie ===
 +
Permet de créer rapidement & facilement un lien catégorie vers le WebShop à partir de l'ID produit.
 +
 
 +
Utilise le code '''CL''' en minuscule pour ''Category Link''.
 +
 
 +
<nowiki>{{cl|_ID_|_texte_}}</nowiki>
 +
 
 +
Exemple:
 +
<nowiki>{{cl|43|La gamme Trinket}}</nowiki>
 +
 
 +
{{cl|43|La gamme Trinket}}
 +
 
 +
=== Hyperlien Recherche produit ===
 +
Permet de créer rapidement & facilement un lien recherche de produit sur le WebShop à partir de d'un mot clé.
 +
 
 +
Utilise le code '''SL''' en minuscule pour ''Search Link''.
 +
 
 +
<nowiki>{{sl|_MOT_CLE_|_texte_}}</nowiki>
 +
 
 +
Exemple:
 +
<nowiki>{{sl|neopixel|Les différents produits NéoPixel}}</nowiki>
 +
 
 +
{{sl|neopixel|Les différents produits NéoPixel}}
 +
 
 +
 
 +
=== link-product-CODE ===
 +
Commence par "link-product-" + code produit
 +
* link-product-vise : {{link-product-vise}}
 +
* link-product-iron : {{link-product-iron}}
 +
* link-product-pince-coupante : {{link-product-pince-coupante}}
 +
* link-product-bbdemi : {{link-product-bbdemi}}
 +
* link-product-filsbb : {{link-product-filsbb}}
 +
* link-product-picobbler : {{link-product-picobbler}}
 +
* link-product-pi : {{link-product-pi}}
 +
* link-product-pilus : {{link-product-piplus}}
 +
* link-product-pi2 : {{link-product-pi2}}
 +
* link-product-pi3 : {{link-product-pi3}}
 +
* link-product_pi3plus : {{link-product-pi3plus}}
 +
* link-product-arduino : {{link-product-arduino}}
 +
* link-product-bbb : {{link-product-bbb}}
 +
* link-product-flora : {{link-product-flora}}
 +
 
 +
=== link-product-categ ===
 +
 
 +
* link-product-categ-pi : {{link-product-categ-pi}}
 +
 
 +
=== Lien fournisseur ===
 +
 
 +
<nowiki>{{pl|447|châssis Zumo}} {{polpl|1418}} </nowiki>
 +
 
 +
{{pl|447|châssis Zumo}} {{polpl|1418}}
 +
 
 +
== Editing Tools / UNICODE ==
 +
* [http://excel2wiki.net/wikipedia.php SpreadSheet to Wikitable converter] ('''LIEN MORT!''', ''fonctionne aussi avec un copy d'une table HTML'')
 +
* [https://www.mattsbits.co.uk/webtools/text_to_html/index.php text to html table]
 
* [http://en.wikipedia.org/wiki/Wikipedia:Tools/Editing_tools Wikipedia:Tools/Editing tools]
 
* [http://en.wikipedia.org/wiki/Wikipedia:Tools/Editing_tools Wikipedia:Tools/Editing tools]
 +
* [http://dabuttonfactory.com Da Button Factory Creator]
 +
** [http://dabuttonfactory.com/#t=D%C3%A9marrer%20le%20Live&f=DejaVuSansCondensed-Bold&ts=22&tc=eeeeee&tshs=1&tshc=00a146&c=5&bgt=gradient&bgc=00cf45&ebgc=49ba6f&be=on&bs=1&bc=deff66&hp=30&vp=11 Bouton Vert]
 +
* Unicode<small><br />Linux: [ctrl]+[shift]+u then key-in hexa code</small>
 +
** [https://www.key-shortcut.com/en/writing-systems/35-symbols/arrows/ Unicode Arrows]
 +
** [https://www.key-shortcut.com/en/writing-systems/35-symbols/symbols-typography/ Unicode Symbol, Geometric Shape, tech symbols; etc]
 +
** [https://www.key-shortcut.com/en/writing-systems/35-symbols/mathematics/ Unicode MATH]
 +
** Copyright : U+00A9
 +
** Registered : U+00AE
 +
* Text editor
 +
** [https://www.sublimetext.com/ SublimText]
 +
** [https://atom.io/ téléchargez Atom]
 +
 +
== Toolbox ==
 +
Quelques outils pour créer plus facilement du contenu sur ce wiki.
 +
* [https://www.tablesgenerator.com/mediawiki_tables MediaWiki tables]
 +
* [http://www.dannyg.com/examples/res2/resistor.htm Graphical Resistance Calculator]
 +
* [https://math.tools/equation/image graphical equation creator] (Equa Image)
 +
* [https://www.guidgenerator.com/online-guid-generator.aspx GUID generator]
 +
* [http://commons.wikimedia.org/wiki/Commons:Tools/Commonist Commonist uploaded (a tester)]
 +
 +
* [http://www.asciitable.com/ Codes ASCII]
 +
* [http://www.w3schools.com/tags/ref_colorpicker.asp W3schools - Color Picker]
 +
* [https://en.wikipedia.org/wiki/List_of_Unicode_characters#Currency_Symbols|Unicode Symbol référence] (''Wikipedia'')
 +
* [https://regex101.com/ Regular Expression Tester] (regex101.com)
 +
* [http://www.expreg.com/symbole.php Symbole des Expressions Régulière (RegExp)]
 +
* [http://www.corntab.com Cron Tab online editor] (''crontab.com'')<br />[http://www.everydaylinuxuser.com/2014/10/an-everyday-linux-user-guide-to.html a CronTab guide]
 +
 +
== Divers ==
 +
* [[Origine des connaissances|Origine des connaissances]]
 +
* [[L'informatique rétro (apprendre et comprendre)|Informatique retro apprendre et comprendre]]
 +
* [https://arduino103.blogspot.com/2022/08/comment-construire-un-ordinateur-retro.html Comment construire un ordinateur rétro? ... se lancer avec RC2014]
 +
* [[Stage chez MCHobby|Stage ou TFE @ MCHobby]]

Version du 5 novembre 2022 à 15:07

Liens Perso / Idées projets

Idées projets:

  • Maker PI RP2040 + Zumo Robot

Idées Blog:

  • Maker Pi RP2040 (Cytron) + Romi

MediaWiki reference

https://wiki.mchobby.be/index.php?title=Accueil&action=XXX 

Avec XXX pouvant recevoir les valeurs suivantes:

  • raw : contenu de la page wiki tel que présenté dans le volet "edit"
  • render : rendu HTML sans interface utilisateur et sans inclusion CSS. Idéal pour inclure dans un IFrame ou compiler un PDF.
  • info : Affiche des informations sur la page
  • purge : efface le cache pour la page, force la recompilation depuis la source.
  • history : affiche l'historique de modification de la page
  • Voir aussi Actions sur MediaWiki

Specific Ressource

Image

[[Fichier:image.png]]
[[Fichier:image.png|240px]]

ADF Images

{{ADFImage|name.jpg}}
{{ADFImage|name.jpg|250px}}

Pololu

Infobox pour page de garde compilée avec compile_tuto.py :

{{Pololu-Zumo-Shield-Arduino-NAV}}
{{infobox tuto
   | image = Pololu-Zumo-Shield-Arduino-01.jpg
   | title = Guide utilisateur du Robot Zumo Pololu
   | subtitle = Un guide complet et abordable pour assembler, utiliser et exploiter rapidement votre Robot Zumo.
   | version = 0.1
}}

Image Pololu avec crédit et description

{{POLImage|name.jpg|250px|descr}}

Lien vers produit Pololu:

{{pl|447|châssis Zumo}} {{polpl|1418}}

MediaWiki extension

Template MCHobby

  • MCH-Aider
  • MCH-Accord
  • ADF-Accord, ARDUINO-Accord, GOF-Accord, ECE-Accord

syntaxhighlight

<syntaxhighlight lang="python">
#!/usr/bin/python

# Simple RGBMatrix example, using only Clear(), Fill() and SetPixel().
# These functions have an immediate effect on the display; no special
# refresh operation needed.
# Requires rgbmatrix.so present in the same directory.

import time
from rgbmatrix import Adafruit_RGBmatrix
</syntaxhighlight>
#!/usr/bin/python

# Simple RGBMatrix example, using only Clear(), Fill() and SetPixel().
# These functions have an immediate effect on the display; no special
# refresh operation needed.
# Requires rgbmatrix.so present in the same directory.

import time
from rgbmatrix import Adafruit_RGBmatrix

Template condensé

<syntaxhighlight lang="python">
x
</syntaxhighlight>
<syntaxhighlight lang="c">
x
</syntaxhighlight>

Round Box

<div style="border: 1px solid #FF9933; background-color: #FFCC66; padding-top: 10px; padding-bottom: 10px; padding-left:10px; border-radius: 15px; margin-bottom: 10px; text-align: left;">Traduction réalisée par Meurisse. D pour [http://shop.mchobby.be shop.MCHobby.be] - '''Licence CC-BY-SA.'''<br />
'''Crédit de traduction:''' Toute référence, mention ou extrait de cette traduction doit également être explicitement accompagné du crédit de traduction suivant : «  Traduction par MCHobby ([http://shop.mchobby.be shop.MCHobby.be]) » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.</div>
Traduction réalisée par Meurisse. D pour shop.MCHobby.be - Licence CC-BY-SA.
Crédit de traduction: Toute référence, mention ou extrait de cette traduction doit également être explicitement accompagné du crédit de traduction suivant : «  Traduction par MCHobby (shop.MCHobby.be) » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.
<div style="border: 1px solid #BAC6C7; background-color: #F1BBBB; padding-top: 10px; padding-bottom: 10px; padding-left:10px; border-radius: 15px; margin-bottom: 10px; text-align: left;">Un message important à ne pas rater!</div>
Un message important à ne pas rater!
<div style="background-color: #B6F7B8; padding: 8px 10px; border-radius: 0; border: 1px solid #30C164; margin-left: 10px; margin-bottom:10px; border-radius:5px;">Encore un autre modèle</div>
Encore un autre modèle

Voyez le Color Picker de W3Schools pour les couleurs ;-)

Div Box

{{dbox-orange| dbox-orange example }}
dbox-orange example

Boxes

Exemple TmBox

{{tmbox | text = En cours de traduction}}
{{tmbox | type = speedy | text = Pas Op! Une betise tu va bientôt faire une fois}}

Exemple AmBox

{{ambox | text = Some text.}}
{{Ambox
| type       = delete
| image      = [[File:StopHand.png|40px|alt=Stop]]
| textstyle  = color: red; font-weight: bold; font-style: italic;
| text       = Text for a big box, for the top of articles.
}}

{{ambox-stop | text = Ne surtout pas faire cette bêtises!!! }}

IFrame (vidéo)

Exemple de IFrame

{{#Widget:Iframe |url=https://www.youtube.com/embed/lmoz-XrSfEw |width=420 |height=315 |border=0 }}

{{#Widget:Iframe
|url=https://www.youtube.com/embed/lmoz-XrSfEw
|width=420
|height=315
|border=0
}}

Navigation & Formatage

Navigateur

Petite structure permettant de naviguer plus facilement dans les articles composés de plusieurs pages.

Déclaration à l'aide d'un template

{{TFT-SHIELD-NAV}}

Anciennement, le contenu du template était:

 <div style="position: absolute; right:10px; background-color: #f6f6f6; padding-right: 5px; border: 1px #d8d8d8 solid;">
* Introduction  
** [[Ecran tactile 2.8" TFT]]
* Librairie GFX
** [[Tutoriel Librairie Adafruit GFX|Tutoriel GFX]]
** [[Tutoriel Librairie Adafruit GFX - Couleurs 16 Bits|Couleurs 16 bits]]
* Acheter
** [http://mchobby.be/PrestaShop/product.php?id_product=16 Ecran tactile 2.8"]
</div>

Il est maintenant remplacé par l'utilisation du template {{TUTO-NAV}} prenant en charge l'affichage des éléments HTML du navigateur.

Voici donc le nouveau contenu de {{TFT-SHIELD-NAV}}

{{TUTO-NAV|
* Introduction  
** [[Ecran tactile 2.8" TFT]]
* Librairie GFX
** [[Tutoriel Librairie Adafruit GFX|Tutoriel GFX]]
** [[Tutoriel Librairie Adafruit GFX - Couleurs 16 Bits|Couleurs 16 bits]]
* Acheter
** {{pl|16|Ecran tactile 2.8"}}
}}

Bas de page

Utilise la technique du template reprenant la nomenclature suivante:

{{TFT-SHIELD-TRAILER}}

Qui contient généralement:

<hr />
<small>Source: [http://learn.adafruit.com/wave-shield-voice-changer/overview]

''Réalisé avec l'aide de Mr Carette J. à qui nous remettons tous nos remerciements.''</small>

{{ADF-Accord}}

{{MCH-Accord}}

Bloc

Bloc Etroit

Les blocs permettent de mettre en place une section plus étroite pour placer du texte à gauche du navigateur... sans devoir utiliser soit même une série de

{{bloc-etroit
   |text=Le texte a faire paraitre dans le bloc :-) avec toute sorte de truc Wiki
}}

Bloc Download

Bloc présentant un aspect plus agréable qu'un simple lien. Le texte de la boite passe également à 120%.

Download-icon.pngTéléchargez Raspbian PiTFT 2.8"
{{download-box|Téléchargez Raspbian PiTFT 2.8"|http://adafruit-download.s3.amazonaws.com/PiTFT28R_raspbian140620_2014_08_25.zip}}

Bloc YouTube

Bloc présentant un aspect plus agréable qu'un simple lien. Le texte de la boite passe également à 120%.

Youtube-icon.pngWiring the cansat boards
{{youtube-box|Wiring the cansat boards|https://youtu.be/dmc9noI2WAs}}

Formatage de texte

Hormis le formatage standard de médiawiki, voici quelques petits extra:

Comment mettre un texte en souligné ;-)

Comment mettre {{underline|un texte en souligné}}

Comment mettre un text en overline

Comment mettre {{overline|un text en overline}}

Comment afficher LeNomDuneFonction() ou du code en courrier :-)

Comment afficher {{fname|LeNomDuneFonction()}} en courrier

Exemple de page type

{{Voice-Changer-NAV}}

{{traduction}}

{{bloc-etroit
   |text=Blablabla
}}

{{Voice-Changer-TRAILER}}

Ce qui produit:


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

Blablabla


Source: Wave Shield Voice Changer. Crédit: Adafruit Industries

Réalisé avec l'aide de Mr Carette J. à qui nous remettons tous nos remerciements.

Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.

Liste des tutoriels

Flag spéciaux:

  • traduction=1 : permet d'indiquer un banner "under construction" à la place de l'image du tutoriel. Affiche également le texte "TRAVAUX EN COURS." en tête de description.
  • link=INTERNAL_PAGE_CODE : a utiliser pour une page tuto complète.
  • url=http://xxx : a utiliser à la place de link pour pointer vers une page externe au Wiki
{{ttuto-begin}}

{{ttuto
  |label=Capteur de courant
  |descr=Mesure de puissance/energie dans une installation électrique.
  |img=Senseur-Courant.jpg
  |link=SENSEUR-COURANT
  |traduction=1
}}

{{ttuto
  |label=Arduino Yun
  |descr=Arduino '''Yun''', spécialiste du WIFI et du Net. <font color="red">avec traduction de la librairie en français</font>.
  |img=tlogo-yun.jpg
  |link=Arduino Yun
}}

-- AUSSI AVEC LIEN VERS GITHUB --

{{ttuto
  |label=MOD-Wii-Chuck [UEXT]
  |descr=Contrôleur de jeu I2C Wii Nunchuck. Exploiter le sous MicroPython (via port UEXT).
  |img=tlogo-mod-wii-nunchuck.png
  |url=https://github.com/mchobby/esp8266-upy/tree/master/modwii
}}

{{ttuto-end}}

Capteur de courant

Tlogo-under-construction.jpg

TRAVAUX EN COURS. Mesure de puissance/energie dans une installation électrique.

Arduino Yun

Tlogo-yun.jpg

Arduino Yun, spécialiste du WIFI et du Net.

MOD-Wii-Chuck [UEXT]

Tlogo-mod-wii-nunchuck.png

Contrôleur de jeu I2C Wii Nunchuck. Exploiter le sous MicroPython (via port UEXT).

 

TABLES

Parts List - Table

{{parts-begin}}

{{parts-item
  |name=Afficheur
  |descr=Afficheur LCD (2x16 caractères)
  |img=afficheur-lcd-afficheur.jpg
  |link=http://shop.mchobby.be/product.php?id_product=176
  |qty=1
}}

{{parts-item
  |name=Potentiomètre
  |descr=pot. 10 KOhms linéraire<br />Inclus avec l'afficheur LCD
  |img=afficheur-lcd-pot.jpg
  |link=http://shop.mchobby.be/product.php?id_product=33
  |qty=1
}}

{{parts-end}}


  Description Quantité
Afficheur
Afficheur-lcd-afficheur.jpg
Afficheur LCD (2x16 caractères)
disponible ici chez MCHobby
1
Potentiomètre
Afficheur-lcd-pot.jpg
pot. 10 KOhms linéraire
Inclus avec l'afficheur LCD
disponible ici chez MCHobby
1

parts-item prédéfini

Plutôt que recoder systématiquement toutes les informations d'un part-item, il est également possible d'utiliser l'un des prédéfini.

Exemple :

{{parts-begin}}
{{parts-item-pi|qty=1}}
{{parts-end}}
  Description Quantité
Raspberry Pi B
Part-item-pi.jpg
Raspberry Pi

disponible ici chez MCHobby
1
Raspberry Pi 3 ou Pi 2
Part-item-piplus.jpg
Raspberry Pi 3

disponible ici chez MCHobby
1

Modèle pour Création :

{{parts-item
  |name=Raspberry Pi
  |descr=Raspberry Pi<br />{{{note| }}}
  |img=part-item-pi.jpg
  |link=http://mchobby.be/PrestaShop/product.php?id_product=141
  |qty={{{qty}}}
}}

Liste :

Liste des parts-items

Assemblage - Tables

décrit les opérations d'assemblages

Part-item-pi.jpg Le texte de description ici
Afficheur-lcd-afficheur.jpg


Part-item-pi.jpg

Avec paramètre additionnel qui réduit l'image à 250px (size=250px)

Autre ligne

  • Et bullet list :-)
{{asm-begin}}

{{asm-row|img=part-item-pi.jpg}}
{{asm-text}} Le texte de description ici

{{asm-row|img=afficheur-lcd-afficheur.jpg|size=250px}}
{{asm-img|img=part-item-pi.jpg}}
{{asm-text}} Avec paramètre additionnel qui réduit l'image à 250px (size=250px)

Autre ligne
* Et bullet list :-)
{{asm-end}}

WikiMedia - Tables

Titre1 Description
xx yyyy
xx yyyy
xx yyyy
{| class="wikitable" border="1"
|-
| align="center" | Titre1
| align="center" | Description
|- style="font-size: 90%"
| align="left" | xx	
| align="left" | yyyy	
|- style="font-size: 90%"
| align="left" | xx	
| align="left" | yyyy	
|- style="font-size: 90%"
| align="left" | xx	
| align="left" | yyyy	
|}


Titre1 Titre2 Description
ww xx yyyy
ww xx yyyy
ww xx yyyy
{| class="wikitable" border="1"
|-
| align="center" | Titre1
| align="center" | Titre2
| align="center" | Description
|- style="font-size: 90%"
| align="left" | ww	
| align="left" | xx	
| align="left" | yyyy	
|- style="font-size: 90%"
| align="left" | ww	
| align="left" | xx	
| align="left" | yyyy	
|- style="font-size: 90%"
| align="left" | ww	
| align="left" | xx	
| align="left" | yyyy	
|}
Titre1 Titre2 Titre3 Description
ww xx yyyy zzzz
ww xx yyyy zzzz
ww xx yyyy zzzz
{| class="wikitable" border="1"
|-
| align="center" | Titre1
| align="center" | Titre2
| align="center" | Titre3
| align="center" | Description
|- style="font-size: 90%"
| align="left" | ww	
| align="left" | xx	
| align="left" | yyyy	
| align="left" | zzzz	
|- style="font-size: 90%"
| align="left" | ww	
| align="left" | xx	
| align="left" | yyyy	
| align="left" | zzzz	
|- style="font-size: 90%"
| align="left" | ww	
| align="left" | xx	
| align="left" | yyyy	
| align="left" | zzzz	
|}
Type de lumière ambiante... Lumière ambiante (lux) Valeur photo-Résistance (Ohms) Photo-résistance + R (Ohms) Courant (Photo-résistance + R) Tension aux bornes de R
Hall faiblement éclairé 0.1 lux 600 KOhms 610 KOhms 0.008 mA 0.1 V
Clair de lune 1 lux 70 KOhms 80 KOhms 0.07 mA 0.6 V
Pièce sombre 10 lux 10 KOhms 20 KOhms 0.25 mA 2.5 V
Jour très couvert (sombre) / Pièce lumineuse 100 lux 1.5 KOhms 11.5 KOhms 0.43 mA 4.3 V
Jour couvert 1000 lux 300 Ohms 10.03 KOhms 0.5 mA 5V
{| class="wikitable" border="1"
|-
| align="center" | Type de lumière ambiante...
| align="center" | Lumière ambiante (lux)
| align="center" | Valeur photo-Résistance (Ohms)
| align="center" | Photo-résistance + R (Ohms)
| align="center" | Courant (Photo-résistance + R)
| align="center" | Tension aux bornes de R
|- style="font-size: 90%"
| align="left" | Hall faiblement éclairé	
| align="left" | 0.1 lux	
| align="left" | 600 KOhms	
| align="left" | 610 KOhms
| align="left" | 0.008 mA
| align="left" | 0.1 V
|- style="font-size: 90%"
| align="left" | Clair de lune
| align="left" | 1 lux
| align="left" | 70 KOhms
| align="left" | 80 KOhms
| align="left" | 0.07 mA
| align="left" | 0.6 V
|- style="font-size: 90%"
| align="left" | Pièce sombre
| align="left" | 10 lux
| align="left" | 10 KOhms
| align="left" | 20 KOhms
| align="left" | 0.25 mA
| align="left" | 2.5 V
|- style="font-size: 90%"
| align="left" | Jour très couvert (sombre) / Pièce lumineuse
| align="left" | 100 lux
| align="left" | 1.5 KOhms
| align="left" | 11.5 KOhms
| align="left" | 0.43 mA
| align="left" | 4.3 V
|- style="font-size: 90%"
| align="left" | Jour couvert
| align="left" | 1000 lux
| align="left" | 300 Ohms
| align="left" | 10.03 KOhms
| align="left" | 0.5 mA
| align="left" | 5V
|}

Aligner des tables

Bouton Entrées PiGrrl 1 Entrées Arduino
A B1 D2
+ B2 D3
Bouton Entrées PiGrrl 2 Entrées Arduino
2 B1 D7
1 B2 D8
{| class="wikitable" border="1" style="display: inline-block;"
|-
| align="center" | '''Bouton'''
| align="center" | '''Entrées PiGrrl 1'''
| align="center" | '''Entrées Arduino'''
|- style="font-size: 90%"
| align="center" | A
| align="center" | B1
| align="center" | D2
|- style="font-size: 90%"
| align="center" | +
| align="center" | B2
| align="center" | D3
|}

{| class="wikitable" border="1" style="display: inline-block;"
|-
| align="center" | '''Bouton'''
| align="center" | '''Entrées PiGrrl 2'''
| align="center" | '''Entrées Arduino'''
|- style="font-size: 90%"
| align="center" | 2
| align="center" | B1
| align="center" | D7
|- style="font-size: 90%"
| align="center" | 1
| align="center" | B2
| align="center" | D8
|}

Liens Produits & Categ

Hyperlien produit

Permet de créer rapidement & facilement un lien produit vers le WebShop à partir de l'ID produit.

Utilise le code PL en minuscule pour Product Link.

{{pl|_ID_|_texte_}} 

Exemple:

{{pl|345|The Pi-Rack de la mort qui tue}}

The Pi-Rack de la mort qui tue

Hyperlien Categorie

Permet de créer rapidement & facilement un lien catégorie vers le WebShop à partir de l'ID produit.

Utilise le code CL en minuscule pour Category Link.

{{cl|_ID_|_texte_}} 

Exemple:

{{cl|43|La gamme Trinket}}

La gamme Trinket

Hyperlien Recherche produit

Permet de créer rapidement & facilement un lien recherche de produit sur le WebShop à partir de d'un mot clé.

Utilise le code SL en minuscule pour Search Link.

{{sl|_MOT_CLE_|_texte_}} 

Exemple:

{{sl|neopixel|Les différents produits NéoPixel}}

Les différents produits NéoPixel


link-product-CODE

Commence par "link-product-" + code produit

link-product-categ

Lien fournisseur

{{pl|447|châssis Zumo}} {{polpl|1418}} 

châssis Zumo lien pololu

Editing Tools / UNICODE

Toolbox

Quelques outils pour créer plus facilement du contenu sur ce wiki.

Divers