Modifications

Sauter à la navigation Sauter à la recherche
234 octets supprimés ,  9 février 2018 à 08:03
Ligne 20 : Ligne 20 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
<br>Finally, install the <a href="http://effbot.org/imagingbook/pil-index.htm">Python Imaging Library</a> and smbus library by executing:
+
Pour finir, installer la [http://effbot.org/imagingbook/pil-index.htm bibliothèque Python Imaging Library (PIL)] et bibliothèque smbus en exécutant :
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
sudo apt-get install python-imaging python-smbus
 
sudo apt-get install python-imaging python-smbus
 
</syntaxhighlight>
 
</syntaxhighlight>
<br>Now to download and install the latest Adafruit SSD1306 python library code and examples, execute the following commands:
     −
<blockquote>
+
Vous pouvez maintenant instlaller la dernière version de la bibliothèque Python SSD1306 d'Adafruit (et les exemples). Exécutez les commandes suivantes:
<span class="editor-monospace">'''sudo apt-get install git<br>'''</span><span class="editor-monospace">'''git clone '''</span><span class="editor-monospace">'''<a href="https://github.com/adafruit/Adafruit_Python_SSD1306.git">https://github.com/adafruit/Adafruit_Python_SSD1306.git</a>'''<br></span><span class="editor-monospace">'''cd Adafruit_Python_SSD1306<br>'''</span><span class="editor-monospace">'''sudo python setup.py install<br>'''</span>
+
 
</blockquote>
+
<syntaxhighlight lang="bash">
 +
sudo apt-get install git
 +
git clone https://github.com/adafruit/Adafruit_Python_SSD1306.git
 +
 
 +
cd Adafruit_Python_SSD1306
 +
sudo python setup.py install
 +
</syntaxhighlight>
 +
 
 
{{ADFImage|RASP-PiOLED-Utiliser-01.png|640px}}
 
{{ADFImage|RASP-PiOLED-Utiliser-01.png|640px}}
  
29 917

modifications

Menu de navigation