seems to be updating, but isn't!

  • I've been working on a script:

    that sends a temperature payload up to TTN and will receive a code and set LED based on the byte sent.

    It all works well in interactive mode out of Atom with Pymakr.

    When copy the script text into the that comes with the PyBytes stuff (below the "Please put your USER code below this line" bit) and adjust for indents etc., the upload of the works as expected from Atom.

    BUT when I boot the LoPy its still running the original I know this because the updated script has a different print statement before the "USER code" bit. and I can see the old script print output in the Atom console.

    I've downloaded the flash to a new directory and the is the correct updated one.

    I'm sure it's something simple.... but it's doing my head in. Any ideas?

  • administrators

    @cclawton Please download the latest library inside Pybytes, there have been some updates to the

    It is also recommended that, when working with the Pybytes firmware, you start with the main.py_example1 file in the flash/examples directory instead of the full

  • Hi @cclawton,

    Just to help me understand did you write the original you're referring to or is this a system default one?


Log in to reply

Pycom on Twitter