Post Created date
in search of USB to TTL serial with DTR and RTS
Something like this? https://www.ebay.com/itm/CP2102N-USB-2-0-Micro-to-UART-Module-Serial-Converter-Adapter/313078414050   Edit: I know it's not really a cable, but it's...
Thursday, 27 August 2020 - 23:53
Profiling 100s of structs to be 4 byte aligned.
Unless you do something funny (like use the "packed" attribute on a struct), all structs and struct members will be aligned appropriately for the target architecture. It would be...
Thursday, 27 August 2020 - 23:37
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":   https://www.microchip.com/webdoc... https://www.nongnu.org/avr-libc/...  
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

Pages