Modifications

Sauter à la navigation Sauter à la recherche
683 octets ajoutés ,  30 octobre 2018 à 15:52
Ligne 39 : Ligne 39 :  
|}
 
|}
   −
== The Receiver Code ==
+
== The code explained ==
 +
Here some explanation about the {fname|mission1-serial-radio-capture.ino}} sketch used in the CanSat.
    +
This Arduino sketch would:
 +
# '''Wait for the serial connexion''' to be established before starting the sketch
 +
# Collect the sensor data
 +
# Send it to serial connexion
 +
# Send it over the radio connexion
 +
 +
<div style="margin: 15px 0; background: rgba(255,204,102,.3); display: block; padding: 15px 15px 15px 15px; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; border: 1px solid #ff9900;" >Don't forget to update the radio frequency {{fname|RF69_FREQ}} and the encryption key {{fname|key[]}} </div>
 +
 +
First, the script will includes all the needed libraries.
    
== Compile and upload ==
 
== Compile and upload ==
29 836

modifications

Menu de navigation