Différences entre versions de « Rasp-Hack-BMP085-Python-Lib »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
(Page créée avec « {{Rasp-Hack-BMP085-NAV}} {{traduction}} {{Rasp-Hack-BMP085-TRAILER}} »)
 
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}}

Version du 5 avril 2014 à 10:35


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

Introduction

The BMP085 Python code for Pi is available on Github at 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"):

git clone https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code.git
$ cd Adafruit-Raspberry-Pi-Python-Code
$ cd Adafruit_BMP085

Rasp-Hack-BMP085-Python-Lib-01.png
Crédit: AdaFruit Industries www.adafruit.com


Source: Using BMP085 with Raspberry Pi. Créé par Kevin Townsend pour AdaFruit Industries.

Traduction et corrections réalisée par Meurisse D pour MCHobby.be.

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.

Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com