Différences entre versions de « Utilisateur:Admin »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 2 : Ligne 2 :
 
* [[s4a-index|Scratch Pour Arduino]] (projet en cours)
 
* [[s4a-index|Scratch Pour Arduino]] (projet en cours)
 
== Traduction à prévoir ==
 
== Traduction à prévoir ==
* [http://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/overview Raspberry GPIO setup], en Python, inclus I2C
+
* [[Rasp-Hack-GPIO|GPIO du Rapsberry]], en Python, inclus I2C
 
* [http://learn.adafruit.com/character-lcds Traduction pour LCD 2x16]
 
* [http://learn.adafruit.com/character-lcds Traduction pour LCD 2x16]
 
** [http://learn.adafruit.com/drive-a-16x2-lcd-directly-with-a-raspberry-pi LCD sur Raspberry Pi]
 
** [http://learn.adafruit.com/drive-a-16x2-lcd-directly-with-a-raspberry-pi LCD sur Raspberry Pi]

Version du 10 janvier 2013 à 20:58

Projet en cours

Traduction à prévoir

Toolbox

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

MediaWiki extension

Boxes

Exemple TmBox

{{tmbox | text = En cours de traduction}}

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.
}}

IFrame (vidéo)

Exemple de IFrame

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

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

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}}

Contenu du template

 <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>

TABLES

Parts List - Table

{{parts-begin}}

{{parts-item
  |name=Afficheur
  |descr=Afficheur LCD (2x16 caractères)
  |img=afficheur-lcd-afficheur.jpg
  |link=http://mchobby.be/PrestaShop/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://mchobby.be/PrestaShop/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

WikiMedia - Tables

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
|}

Editing Tools