How to disable debugging in a sketch
-
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?
-
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 -
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@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).
-
I use local IDE, so I can't answer that, sorry
-
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@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)
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