pycom / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
200 stars 166 forks source link

Getting Random Syntax error on LoPY4 #533

Open elawady55 opened 3 years ago

elawady55 commented 3 years ago

I am using LoPY4 with firmware version 1.20.2.rc11 I have 4 nodes reading data from some sensors then sending the data through LoRa after sending the data then go to deep sleep for 1 minute. when the nodes wakeup sometimes after a random number of wakeups getting a syntax error in a random line number, also sometimes on a line number doesn't exist at all.

Thank you!

gijsio commented 3 years ago

Hi, First I'd recommend you update the firmware to version 1.20.2.r4 and see if the bug persists. Then, did you press the upload project to device button in Pymakr? It seems as though it is not running the same code you expect it to run (as you mention it throws errors on non-existing line numbers?). If you're still running into issues there, let me know what syntax error you get and we could take a look at it together! Gijs