I am mostly working alone on my projects and I am not always sure in what ‘others’ consider to be good or pad practices. Image you have these source files and headers foo.cpp foo.h bar.cpp foo.h Lets say that I need functions in both foo and bar to print text on a 16×2 LCD using ..
This routine puts UTF8 data into a wstring, decoding as it goes. It assumes the encoding is correct, which is okay for my purposes It’s not originally my code, i got it from another SO question- Mark Ransom’s wonderful answer here: UTF8 to/from wide char conversion in STL and I intend to adapt it. Anyway, ..
I’m using a 12F675 PIC and I have programmed it to make 3 LEDs flash in sequence. I want it to only do this when a particular input is NOT received. The PIC is running at 3v3 and that seems to be enough to power the chip and the LEDs when I test it. The ..