YOU don't make the main() function. That is part of the Arduino structure that is provided. It simply calls loop() forever. There is no end.
YOU don't make the main() function. That is part of the Arduino structure that is provided. It simply calls loop() forever. There is no end.