• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Mu editor and long lines

Q&A Forum › Category: ESP32 › Mu editor and long lines
0 Vote Up Vote Down
Philip Ershler asked 11 months ago

I have been using Mu 1.1.1 to edit CircuitPython files on a M1 MacBook Pro running Monterey 12.2.1. At time Mu complains about code lines being too long. Every time I use (supposedly) correct syntax to create continuation lines, Mu complains bitterly about invalid syntax. I have encountered under indented and over indented lines, but I cn never find a continuation system that Mu will swallow. I have dealt with the problem by just ignoring the long line warnings. Has anyone else run across this issue?
Thanks

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 11 months ago

Hi.
But, can you upload the code to the board and get it working?
How many spaces are you using for indentation?
Regards,
Sara

0 Vote Up Vote Down
Philip Ershler answered 11 months ago

Yes, CircuitPython doesn’t seem to mind the long lines. So the code uploads and runs. I have tried 2 space, 4 spaces and multiples of these with no success.

0 Vote Up Vote Down
Sara Santos Staff answered 11 months ago

So, I guess it might be a problem with the Mu software?
Do you have trouble with other codes? Or do they all work despite those warnings?
Regards,
Sara

0 Vote Up Vote Down
Philip Ershler answered 11 months ago

Mu will also flag other syntax errors, but those seem to be valid problems that are usually easily fixed. At this point, I have only use Mu for CircuitPython.

0 Vote Up Vote Down
Sara Santos Staff answered 11 months ago

Ok.
Thanks for letting us know.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023
  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.1) November 20, 2022

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.