Ich hab diesen Quelltext geschrieben:
Ich benutze einen Atmega16 und als Kompiler avr-gcc.exe und avr-objcopy.exeCode:int main () { outp(0xFF, DDRC); cbi(PORTC, 0); cbi(PORTC, 1); cbi(PORTC, 2); cbi(PORTC, 3); cbi(PORTC, 4); cbi(PORTC, 5); cbi(PORTC, 6); cbi(PORTC, 7); while(1); }
Naja, der Port ist aber nicht 0x00 sondern 0x34
Lesezeichen