I run a sketch on my Arduino UNO and realized that it runs the SETUP(), then the VOID LOOP() and while running randomly goes back to run the SETUP() again randomly but continues aterwards in the loop.
It does the same on my second Arduino UNO. Is there a configuration I don't know ?
In the serial Monitor I can see all the messages after Serial.begin(9600); in the SETUP part.
I previously uesd the Arduino UNO to load sketches on an Arduino NANO using the UNO as SPI. Can that be a reason ?