Indentation Error

21 views
Skip to first unread message

Rocket Nut

unread,
Mar 1, 2025, 11:52:26 AMMar 1
to thonny
When I add new code I get the following error message. The old code does get this wrror.

>>> %Run SmackerCode_V9.py
Traceback (most recent call last):
  File "C:\Users\rchrd\Dropbox\DartScreenShots RN_Machine\SmackerCode\Python Code\SmackerCode_V9.py", line 635
    GPIO.output(IntensitySelect_Pins,Task_Num['Alignment']) # Tell controler to excute the Alignment task
                                                                                                         ^
IndentationError: unindent does not match any outer indentation level
>>>

Do you know how I can fix this error?

Reply all
Reply to author
Forward
0 new messages