Pololu-Romi-32U4-Bibliotheque

De MCHobby - Wiki
Révision datée du 11 décembre 2019 à 21:03 par Admin (discussion | contributions)
Sauter à la navigation Sauter à la recherche

La carte de contrôle Romi 32U4 peut être programmé avec Arduino IDE tel que décrit dans les précédentes sections.

Afin de faciliter la programmation de tous les éléments matériels de la carte, Pololu fourni la bibliothèque Romi32U4. La Documentation de la bibliothèque Romi32U4 offre les détails concernant la bibliothèque, la bibliothèque contient plusieurs croquis.

Si vous utilisez une version 1.6.2 (ou suivante) d'Arduino IDE alors vous pouvez utiliser le gestionnaire de bibliothèque pour installer cette bibliothèque:

  1. In the Arduino IDE, open the “Sketch” menu, select “Include Library”, then “Manage Libraries…”.
  2. Search for “Romi32U4”.
  3. Click the Romi32U4 entry in the list.
  4. Click “Install”.

If this does not work, you can manually install the library:

  1. Download the latest release archive from GitHub and decompress it.
  2. Rename the folder “romi-32u4-arduino-library-master” to “Romi32U4”.
  3. Move the “Romi32U4” folder into the “libraries” directory inside your Arduino sketchbook directory. You can view your sketchbook location by opening the “File” menu and selecting “Preferences” in the Arduino IDE. If there is not already a “libraries” folder in that location, you should make the folder yourself.
  4. After installing the library, restart the Arduino IDE.

After you install the Romi32U4 library, you can learn more about it by trying the included example sketches and by reading the Romi32U4 library documentation.

If you are using the Romi 32U4 Control Board with a Raspberry Pi, you might also want to make use of our Raspberry Pi slave library for Arduino, which sets up the A-Star as an I²C slave and helps establish communication with a Raspberry Pi master. See "Interface Raspberry-Pi" for more information about the Raspberry Pi interface.


Basé sur "Guide utilisateur de la carte de contrôle Romi 32U4" de Pololu (https://www.pololu.com/docs/0J69) - Traduit en Français par shop.mchobby.be CC-BY-SA pour la traduction
Toute copie doit contenir ce crédit, lien vers cette page et la section "crédit de traduction". Traduit avec l'autorisation expresse de Pololu (www.pololu.com)

Based on "Pololu Romi 32U4 Control Board User’s Guide" from Pololu (https://www.pololu.com/docs/0J69) - Translated to French by shop.mchobby.be CC-BY-SA for the translation
Copies must includes this credit, link to this page and the section "crédit de traduction" (translation credit). Translated with the Pololu's authorization (www.pololu.com)