Skip to content

Main.cpp

Angelo edited this page Dec 30, 2019 · 1 revision
#include <Arduino.h>

int main(void)
{
    init();

#if defined(USBCON)
    USBDevice.attach();
#endif

    setup();

    for (;;) {
        loop();
        if (serialEventRun) serialEventRun();
    }

    return 0;
}
Clone this wiki locally