20 lines
202 B
C++
20 lines
202 B
C++
#include <Arduino.h>
|
|
|
|
int main(void)
|
|
{
|
|
init();
|
|
|
|
#if defined(USBCON)
|
|
USBDevice.attach();
|
|
#endif
|
|
|
|
setup();
|
|
|
|
for (;;) {
|
|
loop();
|
|
if (serialEventRun) serialEventRun();
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
|