Tagged: ,

This topic has 1 reply, 2 voices, and was last updated 1 month, 1 week ago by Pontus. This post has been viewed 97 times

  • Author
    Posts
  • #835
     helgesolevag
    Participant

    Hey
    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

    Helge

    #836
     Pontus
    Keymaster

    Hi!

    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.

© 2020 Telenor Start IoT
 

Log in with your credentials

Forgot your details?