Hi,

dein Code sollte etwa so ausehen:
Code:
#include <avr/io.h> /* the lib "avr/io.h" located in
AVR directory of WINAVR
installation location*/



int c; /* C is a real number*/

int main(){ /* start the main program*/

DDRA = 0x00;	/*set port A pins as inputs*/
DDRD = 0xff;	/*set port D pins as outputs*/

while (1){

	c=PINA; /*read all 8 pin bits of port A and
	store to variable c*/

	PORTD=c; /*send value c to Pins of port D*/

	}
}
Ich würde nicht mit dem goto befehl arbeiten sondern eine While schleife nehmen!

und Code bitte in Code Tag's.

MfG Martin