Modifications

Sauter à la navigation Sauter à la recherche
992 octets ajoutés ,  5 avril 2014 à 10:35
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{Rasp-Hack-BMP085-NAV}}
 
{{Rasp-Hack-BMP085-NAV}}
   −
{{traduction}}
+
== Introduction ==
 +
 
 +
The BMP085 Python code for Pi is available on Github at [https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code Adafruit-Raspberry-Pi-Python-Code]
 +
 
 +
While many of these drivers and classes are works in progress -- we're still trying to figure out how we can make accessing HW as painless as possible on the Pi -- the current code should serve as a good starting point to understanding how you can access SMBus/I2C devices with your Pi, and getting some basic data out of your BMP085.
 +
 
 +
== Télécharger le code depuis GitHub ==
 +
The easiest way to get the code onto your Pi is to hook up an Ethernet cable, and clone it directly using 'git', which is installed by default on most distros.  Simply run the following commands from an appropriate location (ex. "/home/pi"):
 +
 
 +
<nowiki>git clone https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code.git
 +
$ cd Adafruit-Raspberry-Pi-Python-Code
 +
$ cd Adafruit_BMP085</nowiki>
 +
 
 +
{{ADFImage|Rasp-Hack-BMP085-Python-Lib-01.png|480px}}
    
{{Rasp-Hack-BMP085-TRAILER}}
 
{{Rasp-Hack-BMP085-TRAILER}}
29 837

modifications

Menu de navigation