Modifications

Sauter à la navigation Sauter à la recherche
24 octets supprimés ,  27 février 2022 à 22:46
Ligne 63 : Ligne 63 :  
=== Tuned frequency ===
 
=== 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">#define RF69_FREQ 433.0
+
<syntaxhighlight lang="c">rfm = RFM69( spi=spi, nss=nss, reset=rst )
 +
rfm.frequency_mhz = 433.1</syntaxhighlight>
   −
...
+
where the tuned frequency is directly assigned to the {{fname|frequency_mhz}} property.
 
  −
if (!rf69.setFrequency(RF69_FREQ)) {
  −
    Serial.println("setFrequency failed");
  −
}</syntaxhighlight>
  −
 
  −
where the tuned frequency is declared with the constant '''RF69_FREQ'''.
      
{{ambox-stop|text=Use the frequency assigned to your team by the instructor.}}
 
{{ambox-stop|text=Use the frequency assigned to your team by the instructor.}}
Ligne 77 : Ligne 72 :  
In packet radio, several teams can share the same frequency if they use distinct encryption key.
 
In packet radio, several teams can share the same frequency if they use distinct encryption key.
   −
Like TCP (from TCP/IP network), the packet radio is able to detect packet colission try to recover from it.
+
Like TCP (from TCP/IP network), the packet radio is able to detect packet collision and try to recover from it.
    
However, more teams share the same frequency, more collision we have.
 
However, more teams share the same frequency, more collision we have.
29 917

modifications

Menu de navigation