<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.mchobby.be/index.php?action=history&amp;feed=atom&amp;title=Pi-WiringPi-Exemple-LED</id>
	<title>Pi-WiringPi-Exemple-LED - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mchobby.be/index.php?action=history&amp;feed=atom&amp;title=Pi-WiringPi-Exemple-LED"/>
	<link rel="alternate" type="text/html" href="https://wiki.mchobby.be/index.php?title=Pi-WiringPi-Exemple-LED&amp;action=history"/>
	<updated>2026-09-04T02:33:24Z</updated>
	<subtitle>Historique des révisions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.mchobby.be/index.php?title=Pi-WiringPi-Exemple-LED&amp;diff=7269&amp;oldid=prev</id>
		<title>Admin le 12 septembre 2013 à 11:26</title>
		<link rel="alternate" type="text/html" href="https://wiki.mchobby.be/index.php?title=Pi-WiringPi-Exemple-LED&amp;diff=7269&amp;oldid=prev"/>
		<updated>2013-09-12T11:26:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 12 septembre 2013 à 11:26&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot; &gt;Ligne 8 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 8 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To see the output of this, you would need to connect a single LED to the GPIO connector of the Raspberry Pi as follows:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To see the output of this, you would need to connect a single LED to the GPIO connector of the Raspberry Pi as follows:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Fichier:Pi-WiringPi-Exemple-LED-01.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Fichier:Pi-WiringPi-Exemple-LED-01.jpg&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|480px&lt;/ins&gt;]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&amp;lt;small&amp;gt;Source: [http://wirinPi.com wiringPi.com]&amp;lt;/small&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;and if all goes well, you should see the LED flashing once a second.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;and if all goes well, you should see the LED flashing once a second.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.mchobby.be/index.php?title=Pi-WiringPi-Exemple-LED&amp;diff=7267&amp;oldid=prev</id>
		<title>Admin : Page créée avec « {{Pi-WiringPi-NAV}}  == Intro ==  Blink is the “Hello World” of the GPIO interfacing world. It’s the simplest program and circuit that lets you see something happening.... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.mchobby.be/index.php?title=Pi-WiringPi-Exemple-LED&amp;diff=7267&amp;oldid=prev"/>
		<updated>2013-09-12T11:23:54Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « {{Pi-WiringPi-NAV}}  == Intro ==  Blink is the “Hello World” of the GPIO interfacing world. It’s the simplest program and circuit that lets you see something happening.... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Pi-WiringPi-NAV}}&lt;br /&gt;
&lt;br /&gt;
== Intro ==&lt;br /&gt;
&lt;br /&gt;
Blink is the “Hello World” of the GPIO interfacing world. It’s the simplest program and circuit that lets you see something happening.&lt;br /&gt;
&lt;br /&gt;
== Brancher ==&lt;br /&gt;
To see the output of this, you would need to connect a single LED to the GPIO connector of the Raspberry Pi as follows:&lt;br /&gt;
&lt;br /&gt;
[[Fichier:Pi-WiringPi-Exemple-LED-01.jpg]]&lt;br /&gt;
&lt;br /&gt;
and if all goes well, you should see the LED flashing once a second.&lt;br /&gt;
&lt;br /&gt;
The LED is any generic LED you may have – typically 5mm diameter and the resistor is 330Ω.&lt;br /&gt;
&lt;br /&gt;
== Code et compilation ==&lt;br /&gt;
&lt;br /&gt;
If you have the following saved in a file called blink.c:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#include &amp;lt;wiringPi.h&amp;gt;&lt;br /&gt;
main ()&lt;br /&gt;
{&lt;br /&gt;
  wiringPiSetup () ;&lt;br /&gt;
  pinMode (0, OUTPUT) ;&lt;br /&gt;
  for (;;)&lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite (0, HIGH) ; delay (500) ;&lt;br /&gt;
    digitalWrite (0,  LOW) ; delay (500) ;&lt;br /&gt;
  }&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then to compile and run, you would enter:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;gcc -Wall -o blink blink.c -lwiringPi&lt;br /&gt;
sudo ./blink&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Autres exemples ==&lt;br /&gt;
You can find blink.c and others – blink8.c and blink12.c in the examples directory of the wiringPi distribution. To use the makefile to compile them:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;make blink&lt;br /&gt;
make blink8&lt;br /&gt;
make blink12&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Pi-WiringPi-TRAILER}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>