#something like that
1 messages ยท Page 1 of 1 (latest)
@weak oak I went ahead and put your code into MU, and massaged out a few errors, but I'm still getting the following issues when I try to check it.
Actually trying to run, gives me:
Traceback (most recent call last):
File "code.py", line 65
IndentationError: unindent doesn't match any outer indent level
Any advice on rectifying this would be appreciated!
the code works as-is on my picow, just the button pin has to be adapted to whatever pin you want to use for that example (if you want to use one)
Mu's linter whining have no bearing on the code's execution, but it's likely thrown off by the fact that I use tabs for indentation, you might want to convert those to 4 spaces to make it happy. In the screenshot the second if is incorrectly indented
but as mentioned in the channel, I think using the httpserver library is probably just simpler