Modifications

Sauter à la navigation Sauter à la recherche
41 octets supprimés ,  12 octobre 2018 à 17:27
Ligne 75 : Ligne 75 :  
{{underline|Tuned frequency:}}
 
{{underline|Tuned frequency:}}
 
The tuned frequency is declared with a line like this:
 
The tuned frequency is declared with a line like this:
<syntaxhighlight lang="c"> if (!rf69.setFrequency(RF69_FREQ)) {
+
<syntaxhighlight lang="c">#define RF69_FREQ 433.0
 +
 
 +
...
 +
 
 +
if (!rf69.setFrequency(RF69_FREQ)) {
 
     Serial.println("setFrequency failed");
 
     Serial.println("setFrequency failed");
 
}</syntaxhighlight>
 
}</syntaxhighlight>
    
where the tuned frequency is declared with the constant '''RF69_FREQ'''.
 
where the tuned frequency is declared with the constant '''RF69_FREQ'''.
  −
<syntaxhighlight lang="c">#define RF69_FREQ 433.0</syntaxhighlight>
      
== Encyption Key ==
 
== Encyption Key ==
29 836

modifications

Menu de navigation