I conduct experiments with Arduino and decided to torture a while loop (instead of a loop). I set the condition under which the cycle should work, but instead of triggering the LED just lights up and that's it. Here is the code:
int main() { int i = 0; DDRB = B00100000; while (i < 200) { PORTB |= B00100000; delay(1000); PORTB &= B00000000; delay(1000); i++; } } Maybe I'm stupid, or the compiler's brain swam?