Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. How to disable debugging in a sketch

How to disable debugging in a sketch

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 2.4k Views 3 Watching
  • 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.
  • B Offline
    B Offline
    bpair
    wrote on last edited by
    #1

    I have seen a few comments on the ethernet sketch that you need to disable debugging so that the sketch will fit on an arduino. So I am using codebender and the arduino ide 1.6.4 but I do not see anything about disabling debugging. What exactly am I missing here?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rvendrame
      Hero Member
      wrote on last edited by
      #2

      Usually the sketch fit in a arduino (unless you write a very long "own" sensor code).

      Anyway just find our copy of MyConfig.h , and comment these lines:

      /***

       * Enable/Disable debug logging
       */
      #define DEBUG
      
      #endif
      

      Home Assistant / Vera Plus UI7
      ESP8266 GW + mySensors 2.3.2
      Alexa / Google Home

      B David MoraD 2 Replies Last reply
      0
      • R rvendrame

        Usually the sketch fit in a arduino (unless you write a very long "own" sensor code).

        Anyway just find our copy of MyConfig.h , and comment these lines:

        /***

         * Enable/Disable debug logging
         */
        #define DEBUG
        
        #endif
        
        B Offline
        B Offline
        bpair
        wrote on last edited by hek
        #3

        @rvendrame Thanks. When using codebender is there an easy way to adjust the values in MyConfig.h?

        No, if you need to alter the config-file you'll probably have to download the code an use a local IDE (at least I can't modify the library code online when trying).

        1 Reply Last reply
        0
        • R Offline
          R Offline
          rvendrame
          Hero Member
          wrote on last edited by
          #4

          I use local IDE, so I can't answer that, sorry

          Home Assistant / Vera Plus UI7
          ESP8266 GW + mySensors 2.3.2
          Alexa / Google Home

          1 Reply Last reply
          0
          • R rvendrame

            Usually the sketch fit in a arduino (unless you write a very long "own" sensor code).

            Anyway just find our copy of MyConfig.h , and comment these lines:

            /***

             * Enable/Disable debug logging
             */
            #define DEBUG
            
            #endif
            
            David MoraD Offline
            David MoraD Offline
            David Mora
            wrote on last edited by
            #5

            @rvendrame said:

            comment th
            I know this is too old but how do you comment myconfig, tried to edit but wont let me (editing the txt file)

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            38

            Online

            12.0k

            Users

            11.2k

            Topics

            113.4k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular