]> git.gir.st - tmk_keyboard.git/blob - tmk_core/protocol/usb_hid/arduino-1.0.1/cores/arduino/main.cpp
Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core'
[tmk_keyboard.git] / tmk_core / protocol / usb_hid / arduino-1.0.1 / cores / arduino / main.cpp
1 #include <Arduino.h>
2
3 int main(void)
4 {
5 init();
6
7 #if defined(USBCON)
8 USBDevice.attach();
9 #endif
10
11 setup();
12
13 for (;;) {
14 loop();
15 if (serialEventRun) serialEventRun();
16 }
17
18 return 0;
19 }
20
Imprint / Impressum