Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Confused about recent 12864 Display Fix (3.5.0 rc 2)

    Scheduled Pinned Locked Moved
    Third-party add-ons
    3
    7
    455
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Yukikazeundefined
      Yukikaze
      last edited by

      I have a duet 5 Mini with a SBC and a 12864 Display.
      Since SD card access doesn't work with a SBC i made a button for every Macro:

      button R26 C40 F0 W64 V0 T"Lights OFF" A"M98 P#0" L"/macros/LightOFF"
      

      This worked flawlessly until some Time last year (can't say exactly which update broke it. I assumed it would be fixed someday so i just ignored it.
      Now i updated to 3.5.0 Release Candidate 3 and saw that in rc2 there was a fix that should solve my issue:

      "In menu files for a 12864 display it was not possible to include a double-quote character in the command string for an A parameter (issue 909). This made it impossible to use the M98 command in such a parameter because the P argument of the M98 command must now be enclosed in double quotes."

      https://github.com/Duet3D/RepRapFirmware/issues/909

      Sadly, I'm confused how i have to change my code to get it to work. I tried a few things, but none of them worked.

      It would be great if someone could modify my code for me.

      X-Dron created this issue in Duet3D/RepRapFirmware

      closed [Bug]: RepRapFirmware 3.5.0-rc.1 and Screens 12864 #909

      chrishammundefined 1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators @Yukikaze
        last edited by

        @Yukikaze You are missing double-quotes in your M98 command. Does this work?

        button R26 C40 F0 W64 V0 T"Lights OFF" A"M98 P""#0""" L"/macros/LightOFF"
        

        Duet software engineer

        Yukikazeundefined 1 Reply Last reply Reply Quote 0
        • Yukikazeundefined
          Yukikaze @chrishamm
          last edited by

          @chrishamm No, i tried that already.

          chrishammundefined 1 Reply Last reply Reply Quote 0
          • chrishammundefined
            chrishamm administrators @Yukikaze
            last edited by

            @Yukikaze What about

            button R26 C40 F0 W64 V0 T"Lights OFF" A"M98 P""/macros/LightOFF"""
            

            Duet software engineer

            Yukikazeundefined 1 Reply Last reply Reply Quote 0
            • Yukikazeundefined
              Yukikaze @chrishamm
              last edited by

              @chrishamm Yes, that worked. Thanks a lot.

              dc42undefined 2 Replies Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators @Yukikaze
                last edited by

                @Yukikaze interesting, last time I looked at the code it appeared that the #0 parameter in the M98 command should get double quotes surrounding it automatically. I'll take another look.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators @Yukikaze
                  last edited by

                  @Yukikaze I confirm that this was not working in rc3. I have corrected the 3.5 source code and tested the fix. Thank you for reporting it.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA