Modifications

Sauter à la navigation Sauter à la recherche
75 octets supprimés ,  21 septembre 2018 à 21:09
Ligne 87 : Ligne 87 :  
On a Cortex ARM microcontroler, the output signal would be 255/256th. As a consequence, there is always a small pulse-down to 0v. If you need a continuously HIGH signal then the {{fname|analogWrite(pin, 255)}} must be replaced by {{fname|digitalWrite(pin, HIGH)}}
 
On a Cortex ARM microcontroler, the output signal would be 255/256th. As a consequence, there is always a small pulse-down to 0v. If you need a continuously HIGH signal then the {{fname|analogWrite(pin, 255)}} must be replaced by {{fname|digitalWrite(pin, HIGH)}}
   −
== Fichier d'entête manquant ==
+
== Missing Header file ==
Vous pourriez avoir du code qui utilise des bibliothèques non supportée sur un coeur M0. Par exemple, si vous avez du code contenant la ligne suivante:
+
You may have some code using a library not supported by the M0 code. As example, if you have some code containing the following line:
    
<syntaxhighlight lang="c">
 
<syntaxhighlight lang="c">
Ligne 94 : Ligne 94 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
alors vous obtiendrez une erreur mentionnant
+
Then you will get the following error
    
  <nowiki>
 
  <nowiki>
Ligne 103 : Ligne 103 :  
Error compiling.</nowiki>
 
Error compiling.</nowiki>
   −
Ce qui permet de localiser la ligne (et fichier) où s'est produit l'erreur. Il suffira alors de l'inclure dans une structure #ifdef comme celle présentée ci-dessous:
+
Wich allow to identiy the line (and the file) where the error occured. You would just need to include the library loading inside a {{fname|#ifdef}} structure like showed:
    
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
Ligne 111 : Ligne 111 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
Les lignes ci-dessous font en sorte de ne pas inclure le fichier d'entête pour d'autres architectures.
+
The line here upper would not include the header for the listed architectures.
   −
Si l'instruction {{fname|#include}} se trouve directement dans votre croquis Arduino alors vous pouvez essayer de retirer cette ligne.
+
If the {{fname|#include}} is present in your Arduino sketch then you may try to remove the  {{fname|#include}} line.
    
== Lancer le Bootloader ==
 
== Lancer le Bootloader ==
29 836

modifications

Menu de navigation