Hi all,
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 helps 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.To find the .h libraries files:
waspmote-pro-ide-vXXX/libraries
or at the core libraries:
waspmote-pro-ide-vXXX/hardware/waspmote/avr/cores/waspmote-api
At some libraries, there is just a commented line that you have to uncomment.
Regards
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 helps 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
waspmote-pro-ide-vXXX/libraries
or at the core libraries:
waspmote-pro-ide-vXXX/hardware/waspmote/avr/cores/waspmote-api
At some libraries, there is just a commented line that you have to uncomment.
Regards