Update transmit.py start with random image_index

fc-fctelem
Alan Johnston 11 months ago committed by GitHub
parent 11e4bbb597
commit 80f8613a37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -10,6 +10,7 @@ import sys
from os import system
from PIL import Image, ImageDraw, ImageFont, ImageColor
import serial
import random
def battery_saver_check():
try:
@ -791,7 +792,7 @@ if __name__ == "__main__":
# system("sudo nc -l 8080 | csdr convert_i16_f | csdr fir_interpolate_cc 2 | csdr dsb_fc | csdr bandpass_fir_fft_cc 0.002 0.06 0.01 | csdr fastagc_ff | sudo /home/pi/rpitx/sendiq -i /dev/stdin -s 96000 -f 434.9e6 -t float &")
system("sudo nc -l 8080 | csdr convert_i16_f | csdr fir_interpolate_cc 2 | csdr dsb_fc | csdr bandpass_fir_fft_cc 0.002 0.06 0.01 | csdr fastagc_ff | sudo /home/pi/rpitx/sendiq -i /dev/stdin -s 96000 -f " + tx + "e6 -t float &")
print("Turning LED on/off and listening for carrier")
image_index = 1;
image_index = random.randint(0, 255);
while 1:
# print ("LED on")
output(txLed, txLedOff)

Loading…
Cancel
Save

Powered by TurnKey Linux.