Gast
#503343
ich versucht ein vorwärt zähler in c zu programmieren. für das themas
microcontreller bin ich eine anfänger. ich habe ein klein programm
geschrieben aber es fonstioniert nicht richtig es fonstionniert
überhaupt nicht. deshalb möchte ich das ihr mein algorithme schaut und
sagt ihr mich was ist falsch drin
#include <avr/io.h>
#include <stdint.h>
#include <util/delay.h>
int main(void){
DDRB = 0xFF;
uint8_t I;
I=0;
schl:
{
PORTB = I;
_delay_ms(1000);
I++;
}
goto schl;
return 0;
}
danke