Well , thanks for that explanation
Now, I tried it the following way :
int tijd = 60;
int stap =
B001101 , B110001 , B000111 , B010011 , B001101 , B011100};
DDRB = B111111;
for(int i=0;i >=5;i++)
PORTB = stap[i];
it calls the config.port(); , but it doesn’t call the autorun.
For as far as I can see this, I do exactly the same for calling the functions on both setup and loop.
Off topic, the goal is to create a program that when the arduino is started it automaticly runs the autorun(), and when i give a command trought the serial monitor, that I’m able to program what it should do, from the steps in the var stap.
Thanks for the patience