stm32 lmic
#1584
-
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.
Answered by
fpistm
Dec 10, 2021
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.
0 replies
Answer selected by
fpistm
-
Thank you so much @fpistm |
Beta Was this translation helpful? Give feedback.
0 replies
-
it´s works! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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, ...)