(Page créée avec « Traduction par Antony Auffret du "Arduino Programming Notebook" écrit et compilé par Brian W. Evans Ce livre a été écrit à partir d'inspiration et d'informations tiré… ») |
|||
Ligne 3 : | Ligne 3 : | ||
Ce livre a été écrit à partir d'inspiration et d'informations tirées des sites web suivants : | Ce livre a été écrit à partir d'inspiration et d'informations tirées des sites web suivants : | ||
* http://www.arduino.cc | * http://www.arduino.cc | ||
- | http://www.wiring.org.co | + | * http://www.wiring.org.co |
- | http://www.arduino.cc/en/Booklet/homePage | + | * http://www.arduino.cc/en/Booklet/homePage |
- | http://cslibrary.stanford.edu/101/ | + | * http://cslibrary.stanford.edu/101/ |
Incluant des éléments écrits par : | Incluant des éléments écrits par : | ||
- | Massimo Banzi | + | * Massimo Banzi |
- | Hernando Barragan | + | * Hernando Barragan |
- | David Cuartielles | + | * David Cuartielles |
- | Tom Igoe | + | * Tom Igoe |
- | Daniel Jolliffe | + | * Daniel Jolliffe |
- | Todd Kurt | + | * Todd Kurt |
- | David Mellis | + | * David Mellis |
- | and others | + | * and others... |
Première édition publiée en août 2007 sous licence CC-By-Nc-Sa | Première édition publiée en août 2007 sous licence CC-By-Nc-Sa | ||
Ligne 50 : | Ligne 50 : | ||
===Haut/bas (high/low)=== | ===Haut/bas (high/low)=== | ||
===Entrée/sortie (input/ourput)=== | ===Entrée/sortie (input/ourput)=== | ||
- | === | + | ==Structures de contrôle== |
+ | ===if=== | ||
+ | ===if... else=== | ||
+ | ===for=== | ||
+ | ===while=== | ||
+ | ===do... while=== | ||
+ | ==Entrées et Sorties numériques (digital i/o)== | ||
+ | ===pinMode(pin, mode)=== | ||
+ | ===digitalRead(pin)=== | ||
+ | ===digitalWrite(pin, value)=== | ||
+ | ==Entrées et Sorties analogiques (analog i/o)== | ||
+ | ===analogRead(pin)=== | ||
+ | ===analogWrite(pin, value)=== | ||
+ | ==Gestion de la durée== | ||
+ | ===delay(ms)=== | ||
+ | ===millis()=== | ||
+ | ==math== | ||
+ | ===min(x,y)=== | ||
+ | ===max(x,y)=== | ||
+ | ==hazard== | ||
+ | ===randomSeed(seed)=== | ||
+ | ===random(min, max)=== | ||
+ | ==Communication avec le port série== | ||
+ | ===serial.begin(débit)=== | ||
+ | ===serial.pintln(donnée)=== | ||
+ | ==appendice== | ||
+ | ===sortie numérique=== | ||
+ | ===Entrée numérique=== | ||
+ | ===Courant de sortie haut=== | ||
+ | ===sortie pwm=== |
Traduction par Antony Auffret du "Arduino Programming Notebook" écrit et compilé par Brian W. Evans
Ce livre a été écrit à partir d'inspiration et d'informations tirées des sites web suivants :
Incluant des éléments écrits par :
Première édition publiée en août 2007 sous licence CC-By-Nc-Sa
Sommaire |
Une variable peut être déclarée au début du programme avant l'initialisation (Void setup() ), à l'intérieur de fonctions et parfois au sein d'un bloc d'instruction comme les boucles. La zone où la variable est déclarée détermine la "visibilité" de celle-ci, autrement dit la possibilité pour certaines parties d'un programme à utiliser cette variable.
© Graphisme : Les Petits Débrouillards Grand Ouest (Patrice Guinche - Jessica Romero) | Développement web : Libre Informatique