Tagged: ,

This topic has 1 reply, 2 voices, and was last updated 1 year, 6 months ago by Pontus. This post has been viewed 516 times

  • Author
  • #835

    Finally I have fixed my hardware problems, now I need help with the python code.
    I suppose this is a easy case for you here with more experience in Python. I know that indents in python is a issue.
    When I removing a # to “activate” a codeline, do I have to add a space? Or is the indents right just to remove the # ?
    This error message have been following me all the way down…. :
    Traceback (most recent call last):
    File “main.py”, line 85
    IndentationError: unindent doesn’t match any outer indent level
    Pycom MicroPython 1.20.2.rc6 [v1.11-01f49f7] on 2020-02-28; FiPy with ESP32
    Pybytes Version: 1.3.1




    It would be easier if you could send some code demonistrating what it looks like. Especially around line 85 from your main.py file.
    Here is an example of what it should look like (just remove the comments): https://github.com/TelenorStartIoT/fipy-dev-kit-coap/blob/master/main.py#L45

    – Pontus

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

© 2021 Telenor Start IoT

Log in with your credentials

Forgot your details?