Probier mal so:
Gruß JanCode:#include <avr/io.h> int main (void) { DDRB = 0xFF; // Port B alles Output DDRA = 0x00; // Port A alles Input while(1) { PORTB = PINA; } return 0; }
Probier mal so:
Gruß JanCode:#include <avr/io.h> int main (void) { DDRB = 0xFF; // Port B alles Output DDRA = 0x00; // Port A alles Input while(1) { PORTB = PINA; } return 0; }
Lesezeichen