Abend,
ein Programm im C zum probieren?
Reicht das ?Oder was ist Dein Ziel ?Code:#include<avr/io.h> int main(void) { DDRC = (1<<PC0); PORTC = (1<<PC0); while(1) { if (PINC & (1<<PC1)) PORTC |=(1<<PC0); else PORTC &=~(1<<PC0); } return 0; }
Klar mußt Du das Device einstellen, ich meine beim "Neues Projekt" wirst Du zuerst nach Assembler/GCC gefragt und dann nach dem Kontroller, sonst kann er das wirklich nicht wissenoder muss ich das irgend wo einstellen oder eintragen
Gruß Sebastian
Lesezeichen