Last active
December 11, 2015 18:19
-
-
Save m0xpd/4640603 to your computer and use it in GitHub Desktop.
Sending WSPR on the RPi Beacon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if Proceed == 1: # External timing code sets Proceed = 1 for WSPR | |
# and enters at the start of the transmission interval | |
sendFrequency(WSPR_freq) # setup the DDS frequency | |
GPIO.output(11, True) # key the Tx | |
time.sleep(1) # wait for 1 second : WSPR starts 1 second into the minute | |
for i in range(0,len(WSPR_Message)): # read each character | |
sendFrequency(WSPR_freq+WSPR_Message[i]*WSPR_df) # set frequency | |
time.sleep(0.682) # wait for 682 msec | |
GPIO.output(11, False) # All Done - so un-key the Tx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment