Modifications

Sauter à la navigation Sauter à la recherche
Ligne 61 : Ligne 61 :  
If you have a Gemma M0 or Trinket M0, your internal storage is from the chip itself. So, this board doesn't have enough space for all of the libraries. If you try to copy over the entire <code class="prettyprint">lib</code> folder you'll overwhelm your store.  
 
If you have a Gemma M0 or Trinket M0, your internal storage is from the chip itself. So, this board doesn't have enough space for all of the libraries. If you try to copy over the entire <code class="prettyprint">lib</code> folder you'll overwhelm your store.  
   −
Instead, we'll copy over just what we need as we need it. In the <code class="prettyprint">lib</code> folder there is an <code class="prettyprint">adafruit_si7021.mpy</code> file. That matches the missing module! Python imports modules based on the filename so they will always match up. Lets drag it over. If this works, skip to <a href="https://learn.adafruit.com/adafruit-gemma-m0/installing-libraries#continuing-after-copy">the next section</a>. Keep reading if you have an error.
+
Instead, we'll copy over just what we need as we need it. In the <code class="prettyprint">lib</code> folder there is an <code class="prettyprint">adafruit_si7021.mpy</code> file. That matches the missing module! Python imports modules based on the filename so they will always match up. Lets drag it over. If this works, skip to [https://learn.adafruit.com/adafruit-gemma-m0/installing-libraries#continuing-after-copy the next section]. Keep reading if you have an error.
    
{{ADFImage|FEATHER-M0-MicroPython-bibliotheque-06.png|640px}}
 
{{ADFImage|FEATHER-M0-MicroPython-bibliotheque-06.png|640px}}
29 917

modifications

Menu de navigation