[Reference] Debug mode activation
It's very useful for us to know the output of a code with the debug mode activated when there are issues with any module. With debug mode enabled, some information is printed through the USB that help us to find where could be the error.
For debug mode activation you should modify one line at the .h file at the beginning of the library you are interested and you normally can choose between 3 levels.
Code: Select all
#define _3G_debug_mode 0 <---------deactivated #define _3G_debug_mode 1 <---------some additional info #define _3G_debug_mode 2 <---------full info
or at the core libraries:
At some libraries there is just a commented line that you have to uncomment.