Getting ready to publish to repo.radio
This commit is contained in:
parent
3ca437617c
commit
aa07425aa4
11
main.py
11
main.py
@ -2,12 +2,12 @@ import socket
|
|||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
|
||||||
lat_points = []
|
lat_points = [''] # Points from coords.py
|
||||||
lon_points = []
|
lon_points = ['']
|
||||||
|
|
||||||
|
|
||||||
call = b'N0CALL'
|
call = b'F4KECALL'
|
||||||
passcode = b''
|
passcode = b'29086'
|
||||||
|
|
||||||
server = 'noam.aprs2.net'
|
server = 'noam.aprs2.net'
|
||||||
port = 14580
|
port = 14580
|
||||||
@ -44,7 +44,8 @@ def main():
|
|||||||
r = connection.recv(1024)
|
r = connection.recv(1024)
|
||||||
print('logged in: ' + str(r))
|
print('logged in: ' + str(r))
|
||||||
|
|
||||||
for i in range(points):
|
while True:
|
||||||
|
i = 0
|
||||||
lat = bytes(lat_points[i], 'utf-8')
|
lat = bytes(lat_points[i], 'utf-8')
|
||||||
lon = bytes(lon_points[i], 'utf-8')
|
lon = bytes(lon_points[i], 'utf-8')
|
||||||
set_posit(connection, lat, lon, message)
|
set_posit(connection, lat, lon, message)
|
||||||
|
Loading…
Reference in New Issue
Block a user