Post Created date
UNO 3 --I2C-- DFRobot IMU not getting past START
I'll mention this since you're still having problems even though it might not apply.  Sometimes the I2C address is specified as two (consecutive) 8-bit numbers, one for...
Saturday, 25 May 2019 - 15:07
Prescaler causing a timing error? Why?
If you are setting the counter match value to 1250 instead of 1249 (the off-by-one error mentioned by avrcandies), then you can expect your timer to run a bit slow:    ...
Saturday, 25 May 2019 - 07:32
can I ignore the following warning
AndreyT wrote: avr-mike wrote: The warning seems to imply a long long is only 32 bits on your platform.   No, it doesn't. `long long` is not involved in that shift...
Saturday, 25 May 2019 - 00:15
can I ignore the following warning
The warning seems to imply a long long is only 32 bits on your platform.   --Mike  
Friday, 24 May 2019 - 16:21
volatile, multiple loads in ISR
skeeve wrote: To get the behavior you seem to want, make a local copy and store it when done.   Or rearrange the code to only assign a value to 'a' once: ISR ( ) { a =...
Friday, 24 May 2019 - 16:16
Getting no output for program with external interrupts
Chets wrote: void EXT_INIT() {   EICRA=(1<<ISC01)|(1<<ISC10);   EIMSK=(1<<INT0); }   Is that what you want?  Only ISC01 affects INT0 so it'...
Thursday, 23 May 2019 - 04:13
Atmega324P FFT LED Spectrum Analyzer
Please explain why you are doing an IDLE sleep just before sampling the ADC.  Read the datasheet section about ADC Noise-Reduction sleep mode - is that what you're trying to...
Thursday, 23 May 2019 - 04:04
Atmega324P FFT LED Spectrum Analyzer
Some of us can't access pastebin or don't want to. Please post your code using the code editor, which is the tool button with the <> brackets on it.   --Mike  
Wednesday, 22 May 2019 - 01:12
Sampling rate + reconstruction question
avrcandies wrote: However, say you have an RF signal with all components from 200.001 MHZ to 200.004'd think you'd need to sample around 400MHz.  But with this...
Tuesday, 21 May 2019 - 17:14
Atmega324P FFT LED Spectrum Analyzer
It sounds like you are making a spectrum analyzer for music.  An issue with using FFT for this is the human ear hears pitch in logarithmic steps while an FFT gives you linear...
Sunday, 19 May 2019 - 20:45
Change the edge of interrupt
There's a setting for the ISC1x bits which will fire the interrupt on both edges.   --Mike  
Thursday, 16 May 2019 - 16:06
quick offset question
AndreyT wrote: ... not even mentioning our platform.   OP is using a Cortex-A5 with 512MB of memory. AVR Freaks will discuss almost anything (though politics and religion...
Monday, 13 May 2019 - 03:14