Hi Graham,
I created a new folder and download ALL files.
Downloading project (main folder)…
Not safe booting, disabled in settings
Reading files from board
Found 6 new files. Do you want to download these files into your project (C:\Users\neil\Pycom\Code\CE_pyTrack - main folder), overwriting existing files?
(Use the confirmation box at the top of the screen)
Downloading 6 files...
[1/6] Reading config.py
[2/6] Reading main.py
[3/6] Reading boot.py
[4/6] Reading lib/pycoproc.py
[5/6] Reading lib/pytrack.py
[6/6] Reading lib/L76GNSS_mapper.py
All items overritten
Download done, resetting board...
OKets Jun 8 2016 00:22:57
rst:0x7 (TG0WDT_SYS_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff8028,len:8
load:0x3fff8030,len:1728
load:0x4009fa00,len:0
load:0x4009fa00,len:14584
entry 0x400a059c
Traceback (most recent call last):
File "main.py", line 67
SyntaxError: invalid syntax
Pycom MicroPython 1.18.1.r1 [v1.8.6-849-b0520f1] on 2018-08-29; LoPy4 with ESP32
Type "help()" for more information.
>>>
It is coming up with a syntax error in the main.py.
Using ATOM, when I look at lines 65 to 72, I see the following:
pycom.rgbled(RGB_LORA)
authenticav[ۈH
[�^eY�JԐW��PW�URJK�[�^eY�JԐW��PW��VJJB��eeܘK���[�X�]�][ۏSeԘK��PK]]X]][�X�][ۋ[Y[�]L
B���[He��eeܘK�\�ڛ�[�Y
N��ee�� қ�[�[�ˋ���B�X��K��bled(RGB_OFF)
time.sleep(LED_TIMEOUT)
I have put the below code from GitHub back in and trial it on the way home.
authentication = (unhexlify(LORA_OTAA_EUI),
unhexlify(LORA_OTAA_KEY))
lora.join(activation=LoRa.OTAA, auth=authentication, timeout=0)
while not lora.has_joined():
log('Joining...')
pycom.rgbled(RGB_OFF)
Neil.









