Post Created date
Returning variables from a function call
clawson wrote: typedef struct { uint8_t one; uint8_t two; uint8_t three; } vars_t; vars_t function(uint8_t a, uint8_t uint8_t c) { static vars_t the_vars...
Saturday, 19 September 2015 - 16:53
Read a hexadecimal '0x000000' style number on AVR!
You don't ever call get_rgb() in the code you posted.
Wednesday, 9 September 2015 - 02:13
Dealing with floats in C
A 20-bit value with a step size of (about) 0.00000763 sounds like a 3.17 fixed-point value to me. That means there are 3 integer bits and 17 fraction bits, giving a range of 0 to...
Thursday, 3 September 2015 - 15:35
Problem regardong USART COM using ATMEGA88
Visovian wrote: while (buffer[k] |= 0)Should be while (buffer[k] != 0) Incidentally, the first line happens to work because anything OR zero is unmodified, so if buffer[k] is...
Monday, 10 August 2015 - 18:23
GCC vs ASM code size - Help me close the gap
Note that code like this has undefined (or implementation defined at best) behavior: return( mmc_get_byte() + mmc_get_byte()<<8 );   C doesn't specify the order in...
Saturday, 1 August 2015 - 17:38
file opening and file reading in SD card
These lines immediately stood out: char buffer[15]; // ... char line[82]; /* Line buffer */ // ... sprintf(buffer, "%s", line);Why are you filling up a...
Thursday, 30 July 2015 - 21:54
Problem with pointer to struct field...
Looks like a cross-post here.   The same advice applies here. Post a short, self-contained, compilable, example that demonstrates the problem. I suspect the problem is...
Thursday, 9 July 2015 - 22:07
question about DDS synthesis RC filtering
joeymorin wrote: Exactly like I mentioned in post #36... including some pretty pictures! If I'm reading your post #36 correctly you're referring to amplitude quantization noise...
Tuesday, 7 July 2015 - 23:15
question about DDS synthesis RC filtering
I still believe the noise is caused by truncating the phase accumulator:   https://en.wikipedia.org/wiki/Numerically_controlled_oscillator#Phase_truncation_spurs   "...
Tuesday, 7 July 2015 - 22:20
UART RS232 Character Constant too long
clawson wrote:   Tuurbo46 wrote:        up to say 1020 from previous experience will fit in a byte.  But now not using a uart library or function and...
Tuesday, 7 July 2015 - 21:01
question about DDS synthesis RC filtering
Is your frequency sweep phase-coherent? That is, does each frequency start at the same phase that the previous frequency ended on? Also, DDS inherently has phase noise that is...
Saturday, 4 July 2015 - 22:05
question about DDS synthesis RC filtering
The sample rate of a DDS system can be very high, much higher than any other available audio source. The Commodore 64 DDS module (the SID chip), for example, had a 1 MHz sample...
Saturday, 4 July 2015 - 17:20

Pages