Post Created date
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
characters and huffman
How does your encoder tell you how big the compressed output is, and how do you tell the decoder how big the compressed input is?  
Tuesday, 7 January 2020 - 19:01
split uint16_t into two uint8_t
barnacle wrote: The point about undefined behaviour is this: even if it's defined somewhere - and it must be, for the compiler to work - it is by no means guaranteed to work the...
Tuesday, 31 December 2019 - 16:47
Avr Multitasking problems??
Anshumaan wrote: Can someone please see that why my reassignment doesn't work it always skips the zero and then either starts the counting to -1, -2 and soo on or stuck at 25...
Wednesday, 18 December 2019 - 21:28