Post Created date
avr-libc vfprintf_P() return value
The proper way is for lcdPut to return 0 on success. That's what fputc() expects.   Edit to add:   The avr-libc documentation you linked to mentions this in...
Friday, 14 August 2020 - 18:55
Magic Wires--don't be fooled
It's probably copper-clad steel. It's stronger (higher tensile strength) than pure copper but has the corrosion resistance of copper.
Monday, 20 July 2020 - 22:06
2 returns in a function ?
ka7ehk wrote: If you return a pointer, it cannot be a pointer to a value (or array or struct) that is local to the function. Just to nit pick, it can't be a pointer to an ...
Thursday, 4 June 2020 - 18:32
Understanding DC-AC inverter for pure Sine PWM
awneil wrote: Note that 20KHz = 20 * 1024 = 20480 Hz   20kHz is 20000 Hz   Doesn't 20 KiHz = 20 * 1024 Hz?   Using a capital "K" prefix to mean 1024 is used only...
Thursday, 12 March 2020 - 19:33
Specials registers
The PC doesn't have a status or location (what does the status or location of the PC even mean?). The PC has a value, which is where the program is currently executing.  ...
Tuesday, 10 March 2020 - 21:10
Drawing Korean glyphs
Scroungre wrote: improper kerning   Don't you mean "keming"? 
Friday, 6 March 2020 - 19:13
Can't run if other function than main
The first two Google search results for "_delay_ms":  
Monday, 10 February 2020 - 21:32
life time and scope in static variable
skeeve wrote: IIRC static locals are not actually required to exist until they first come in scope. That said, when it comes to allocating memory, that little caveat does not make...
Friday, 7 February 2020 - 00:02
c++ copy assigment
Using "new" to access the same object just seems, uh, dirty to me. While it technically works, it bucks convention and does something totally different from what "new"...
Friday, 24 January 2020 - 16:37
Ring Buffer vs Array Buffer
joeymorin wrote: christop wrote: Here's a quick (untested) example: Lacks atomic accesses. Of course. Think of it as pseudo-code for the purpose of illustrating the concept...
Wednesday, 22 January 2020 - 19:57
Ring Buffer vs Array Buffer
MrKendo wrote: The code required for ring buf is minimal eg. a common technique is all you need is a read and a write  index, which only need to be uint8_t,  you get the...
Wednesday, 22 January 2020 - 16:59
characters and huffman
But isn't that the size of the uncompressed data?  
Tuesday, 7 January 2020 - 19:30