diff options
author | michalprusa <git@michalprusa.cz> | 2016-08-08 20:17:19 +0300 |
---|---|---|
committer | michalprusa <git@michalprusa.cz> | 2016-08-08 20:17:19 +0300 |
commit | 4e61ac2eb181902999d5d5d7372c92df81f44904 (patch) | |
tree | cc74442583e92e67514ec59a740760e034293eda /ArduinoAddons/Arduino_1.0.x/hardware/Sanguino/cores/arduino/main.cpp | |
parent | 053c727fed8ade8065fb89c5ebec1bb2450c5b8b (diff) |
Different calibrate Z string and finally arduino addons added.
Diffstat (limited to 'ArduinoAddons/Arduino_1.0.x/hardware/Sanguino/cores/arduino/main.cpp')
-rwxr-xr-x | ArduinoAddons/Arduino_1.0.x/hardware/Sanguino/cores/arduino/main.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ArduinoAddons/Arduino_1.0.x/hardware/Sanguino/cores/arduino/main.cpp b/ArduinoAddons/Arduino_1.0.x/hardware/Sanguino/cores/arduino/main.cpp new file mode 100755 index 000000000..3d4e079d2 --- /dev/null +++ b/ArduinoAddons/Arduino_1.0.x/hardware/Sanguino/cores/arduino/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; +} + |