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
-
@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
-
@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)
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 19 Mar 2025, 21:00 • bocalexandru 21 Mar 2025, 12:05 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 25 days ago -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Ghost Child
Troubleshooting • 15 Mar 2025, 07:44 • FcNanoLed 18 Mar 2025, 18:36 -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47