-
Sir, I am using STM32L071 with lmic (LoRaWAN)...i can compile 100% But, how can i use use Serial.print into the lmic routines to debug values ? I am getting the following error |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Well you can't as the Serial in a C++ instance object so you could not call it from C file. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much @fpistm |
Beta Was this translation helpful? Give feedback.
-
it´s works! |
Beta Was this translation helpful? Give feedback.
Well you can't as the Serial in a C++ instance object so you could not call it from C file.
You can try to use the core debug feature by defining
CORE_DEBUG
then include core_debug.h and use:void core_debug(const char *format, ...)