Modifications

Sauter à la navigation Sauter à la recherche
1 001 octets ajoutés ,  2 mars 2022 à 00:15
Ligne 186 : Ligne 186 :  
| 3V3
 
| 3V3
 
|}
 
|}
 +
 +
=== The code ===
 +
Now we will load and executes the receiver script. The script must be downloaded from the repository.
 +
 +
The script can be executed from Thonny -OR- transfered to the Pico and executed directly on the microcontroler.
 +
 +
TODO DOWNLOAD
 +
 +
{{ambox-stop|text=We will have to modify the script before executing it!}}
 +
 +
{{underline|'''Update for frequency plan:'''}}
 +
 +
The frequency used by the receiver RFM69HCW must be exactly the same as th emitter! z is free for use, please select your own frequency in that range.
 +
 +
Locate the following lignes:
 +
 +
<syntaxhighlight lang="c">// Change to 434.0 or other frequency, must match RX's freq!
 +
#define RF69_FREQ 915.0
 +
</syntaxhighlight>
 +
 +
And update it to:
 +
 +
<syntaxhighlight lang="c">// Change to 434.0 or other frequency, must match RX's freq!
 +
#define RF69_FREQ 433.0
 +
</syntaxhighlight>
 +
 +
{{underline|'''Activate the Serial Line:'''}}
 +
 +
No need to change here as we are using an Arduino UNO.
 +
 +
Voilà, We are ready to compile and upload.
 +
 +
{{traduction}}
 +
    
{{traduction}}
 
{{traduction}}
29 918

modifications

Menu de navigation