mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-10 21:24:12 +01:00
21 lines
202 B
C++
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;
|
|
}
|
|
|