Hallo,
mein Quelltext sieht folgendermaßen aus:

#include <stdlib.h>
#include <avr/io.h>
#include "rncontrol.h"


int main()

{
DDRC=0xFF;
DDRA=0x00;

while(1)
{
if(button==1)
{
PORTC=0b00000000;
}
else
{
PORTC=0b11111111;
}

}
return 0;
}

Funzt aber leider nich....

Mnemonic