From aa07425aa4df61db9043791415a4dae21f80f89e Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 13 Jul 2022 21:50:08 -0400 Subject: [PATCH] Getting ready to publish to repo.radio --- main.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index 2937493..1ba28f5 100644 --- a/main.py +++ b/main.py @@ -2,12 +2,12 @@ import socket import sys import time -lat_points = [] -lon_points = [] +lat_points = [''] # Points from coords.py +lon_points = [''] -call = b'N0CALL' -passcode = b'' +call = b'F4KECALL' +passcode = b'29086' server = 'noam.aprs2.net' port = 14580 @@ -44,7 +44,8 @@ def main(): r = connection.recv(1024) print('logged in: ' + str(r)) - for i in range(points): + while True: + i = 0 lat = bytes(lat_points[i], 'utf-8') lon = bytes(lon_points[i], 'utf-8') set_posit(connection, lat, lon, message)