Top "Avr" questions

AVR refers to two families of either 8- or 32-bit RISC microcontrollers

FFT bin width clarification

I'm developing a spectrum analyzer for the 8bit Atmega32 that outputs onto a LCD display. The maximum sampling frequency is 40…

c signal-processing fft avr spectrum
AVR linker error, "relocation truncated to fit"

I'm trying to compile some code for an ATmega328 micro, and I want use the libraries and the core of …

linker arduino linker-errors avr avr-gcc
8 bit enum, in C

I have to store instructions, commands that I will be receiving via serial. The commands will be 8 bits long. I …

c avr avr-gcc winavr avr-studio4
"no 'operator++(int)' declared for postfix '++' [-fpermissive]" on enums

I have got the enum enum ProgramID { A = 0, B = 1, C = 2, MIN_PROGRAM_ID = A, MAX_PROGRAM_ID = C, } CurrentProgram; Now, …

c++ gcc enums operator-overloading avr
Preserving sreg in AVR interrupts

What is the mechanism used to preserve the status register, sreg, in an AVR microcontroller? RETI implies that these bits …

assembly arduino avr atmel
Best platform for learning embedded programming?

I'm looking to learn about embedded programming (in C mainly, but I hope to brush up on my ASM as …

embedded arm avr
Creation and addressing arrays in AVR Assembly (Using the ATMega8535)

I am having trouble with the creation and addressing of an array created purely in assembly using the instruction set …

arrays assembly avr atmel
how bad is it to use dynamic datastuctures on an embedded system?

So in an embedded systems unit, that i'm taking at uni next year, we will learn that dynamic data structures …

list stack queue avr
Arduino (Uno) Ethernet client connection fails after many client prints

I'm using an Arduino Uno with Ethernet Shield. After sending many HTTP requests, client.println(...), the client starts to fail …

c arduino avr avr-gcc
Unexpected float behaviour in C with AVR atmega8

I've been trying to figure out why I cannot get a sensible value from multiplying an unsigned int with a …

c floating-point int avr atmega