summaryrefslogtreecommitdiffstats
path: root/lib/msp430/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msp430/main.cpp')
-rw-r--r--lib/msp430/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/msp430/main.cpp b/lib/msp430/main.cpp
new file mode 100644
index 0000000..138cc10
--- /dev/null
+++ b/lib/msp430/main.cpp
@@ -0,0 +1,16 @@
+#include <Energia.h>
+
+int main(void)
+{
+ init();
+
+ setup();
+
+ for (;;) {
+ loop();
+ if (serialEventRun) serialEventRun();
+ }
+
+ return 0;
+}
+