diff options
| author | Donald Delmar Davis <don@suspectdevices.com> | 2013-10-26 15:50:16 -0700 |
|---|---|---|
| committer | Donald Delmar Davis <don@suspectdevices.com> | 2013-10-26 15:50:16 -0700 |
| commit | 5bac9dcb4569f107315768677e4c6d580a743171 (patch) | |
| tree | 2822f877b07b7f6fbfeec54e40448b65ae196c15 /main.cpp | |
| parent | 7edfa511b95c70673b87b988a0cd81eb2f8b168b (diff) | |
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..3d4e079 --- /dev/null +++ b/main.cpp @@ -0,0 +1,20 @@ +#include <Arduino.h> + +int main(void) +{ + init(); + +#if defined(USBCON) + USBDevice.attach(); +#endif + + setup(); + + for (;;) { + loop(); + if (serialEventRun) serialEventRun(); + } + + return 0; +} + |
