I'm trying to write my first program to ATmega16A but I have an error:
avrdude: AVR Part "atmega16a" not found.
But actually I've changed the chip with a similar ATmega16A and I'm sure that the chip is powered by measuring the voltage on the IC GND and Vcc pins; power is driven from the AVR pocket prog (I bought one a programmer like this one) and I'm trying to apply what is described in this video. The only difference that I'm using ATmega16A; is there any solution for such thing?
#include<avr/io.h>
int main(void)
{
DDRB = 0b00000001;
PORTB = 0b00000001;
while(1)
{
}
return 0 ;
}
