Modifications

Sauter à la navigation Sauter à la recherche
1 145 octets ajoutés ,  30 septembre 2013 à 09:06
Ligne 10 : Ligne 10 :     
== WiringPi ==
 
== WiringPi ==
'''WiringPi''' is a set of C functions designed to make it easy for C and C++ programs to access the Raspberry Pi’s  GPIO. There is also a utility program; gpio which you can use from the command-line to test simple '''GPIO''' operations.
+
{{bloc-etroit|text='''WiringPi''' is a set of C functions designed to make it easy for C and C++ programs to access the Raspberry Pi’s  GPIO. There is also a utility program; gpio which you can use from the command-line to test simple '''GPIO''' operations. }}
    
* Get and install wiringPi. The instructions are here.
 
* Get and install wiringPi. The instructions are here.
    +
[[Fichier:Pi-WiringPi-Exemple-Quick2Wire-01.jpg|480px]]<br /><small>Source: [http://wirinPi.com wiringPi.com]</small>
    +
The picture above shows the main board which provides access to the Pi’s main 8 GPIO pins, with the I2C and SPI connectors and serial pins. The I2C based analog (middle) and digital (bottom) expansion boards are below the mainboard. There are no SPI expansion boards at this time. (May, 2013)
 +
 +
The following pages will guide you through setting it up and programming it via the shell (BASH) and using wiringPi in simple C/C++ programs.
 +
 +
 +
* [[Pi-WiringPi-Exemple-Quick2Wire-Install|Installation et test de la carte principale]]
 +
* [[Pi-WiringPi-Exemple-Quick2Wire-I2C Module Test|Tester les modules I2C]]
 +
* [[Pi-WiringPi-Exemple-Quick2Wire-GPIOExtension|La carte d'extension GPIO 16 broches]]
 +
* [[Pi-WiringPi-Exemple-Quick2Wire-AnalogExtension|La carte d'interface analogique]]
 +
 +
== Conclusion ==
 +
 +
Using the Quick2Wire boards with wiringPi should be fairly straightforward – there is nothing new in the Q2W boards that wiringPi can’t handle. The examples here are really just for guidance and hints…
    
{{Pi-WiringPi-TRAILER}}
 
{{Pi-WiringPi-TRAILER}}
29 918

modifications

Menu de navigation