C++/Go Library Loading
Imagine you only have access to a library (.a) and its header (.h) file. You can see the functions and their signatures, but you just can't figure out how to…
Imagine you only have access to a library (.a) and its header (.h) file. You can see the functions and their signatures, but you just can't figure out how to…
I had a hell of a time getting this to work. Here's how I did it. Let's write a small library in C++. // mysum.h #ifdef __cplusplus // extern "C"…
tl;dr - For the ESP32 microcontrollers, ALWAYS terminate a printf() function call with a newline character. Consider the humble printf("Hello world!\n") statement. This elementary function call is the poor man's…