Modifications

Sauter à la navigation Sauter à la recherche
101 octets supprimés ,  22 septembre 2018 à 15:15
Ligne 7 : Ligne 7 :  
You can see that additional FLASH chip like a small SD card continously wired on the board. This flash memory is available through a library very similar to [https://www.arduino.cc/en/reference/SD the Arduino's SD card]. You can even read and write the files on the CircuitPython filesystem (Circuit Python use this Flash to store the Python Script and files)!
 
You can see that additional FLASH chip like a small SD card continously wired on the board. This flash memory is available through a library very similar to [https://www.arduino.cc/en/reference/SD the Arduino's SD card]. You can even read and write the files on the CircuitPython filesystem (Circuit Python use this Flash to store the Python Script and files)!
   −
You will need to install the [https://github.com/adafruit/Adafruit_SPIFlash Adafruit SPI Flash Memory library] in Arduino IDE to use the SPI Flash with your Arduino sketch.  Cliquez sur le bouton ci-dessous pour télécharger les sources de la bibliothèque, ouvrez le fichier zip, et copiez le dans un répertoire '''Adafruit_SPIFlash''' (''retirez le '-master' ajouté par GitHub au nom du répertoire lorsqu'il est téléchargé depuis GitHub) au côté des autres bibliothèques Arduino:
+
You will need to install the [https://github.com/adafruit/Adafruit_SPIFlash Adafruit SPI Flash Memory library] in Arduino IDE to use the SPI Flash with your Arduino sketch.  Click on the link below to download the library source code, open the zip file and copy the file files into a subfolder named '''Adafruit_SPIFlash''' (''remove the '-master' added by GitHub on the front of the folder name). Place this new library next to your other Arduino libraries:
    
{{download-box|Adafruit SPI Flash library|https://github.com/adafruit/Adafruit_SPIFlash Adafruit}}
 
{{download-box|Adafruit SPI Flash library|https://github.com/adafruit/Adafruit_SPIFlash Adafruit}}
   −
Une fois la bibliothèque installée, ouvrez Arduino IDE pour accéder aux différents exemples de la bibliothèque:
+
Once the library installed, start your Arduino IDE to access the various examples available in the library:
 
* '''fatfs_circuitpython'''
 
* '''fatfs_circuitpython'''
 
* '''fatfs_datalogging'''
 
* '''fatfs_datalogging'''
Ligne 19 : Ligne 19 :  
* '''flash_erase'''
 
* '''flash_erase'''
   −
Ces exemples vous permettent de formater la mémoire flash avec un système de fichier FAT (la même type de système de fichier que l'on retrouve sur une carte SD), lire et écrire des fichiers comme ont le fait sur une carte SD.
+
Thoses exemples would allow you to format the Flash memory with the FAT filesystem (the same filesytem than used on SD card), read and write files like we do with SD card.
    
== Lire et écrire des fichiers CircuitPython ==
 
== Lire et écrire des fichiers CircuitPython ==
29 837

modifications

Menu de navigation