aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/main.cpp
blob: ba00ae0fcaf7b8e028a90906ed7450a88b4fc713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define ARDUINO_MAIN
#include <Arduino.h>

int main(void)
{
	init();

#if defined(USBCON)
	USB.attach();
#endif
	
	setup();
    
	for (;;)
		loop();
        
	return 0;
}