void setup() {
// put your setup code here, to run once:
DDRD=255;
}
void loop() {
int licht[8]={128,64,32,16,8,4,2,1};
while(1)
{
for(int t=0;t<8;t++)
{
PORTD=licht[t];
delay(500);
}
}
}
void setup() {
// put your setup code here, to run once:
DDRD=255;
}
void loop() {
int licht[8]={128,64,32,16,8,4,2,1};
while(1)
{
for(int t=0;t<8;t++)
{
PORTD=licht[t];
delay(500);
}
}
}