1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-03-03 00:29:21 +01:00
2012-05-23 09:22:52 +02:00

21 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;
}