Project

General

Profile

Statistics
| Branch: | Revision:

root / arduino-1.0 / hardware / arduino / cores / arduino / main.cpp @ 58d82c77

History | View | Annotate | Download (196 Bytes)

1 58d82c77 Tom Mullins
#include <Arduino.h>
2
3
int main(void)
4
{
5
        init();
6
7
#if defined(USBCON)
8
        USB.attach();
9
#endif
10
        
11
        setup();
12
    
13
        for (;;) {
14
                loop();
15
                if (serialEventRun) serialEventRun();
16
        }
17
        
18
        return 0;
19
}