diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-02-11 22:58:16 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-02-11 22:59:53 +0100 |
commit | 5b1afe32cf7496acea8182278aca83f59e8384e3 (patch) | |
tree | d1c0cadb01a5d638bb12251d488b7beef8a156d0 /lib/msp430/main.cpp | |
parent | 4e50c8291bd83a3fbb24a209fd1f6c7cbdb5283c (diff) | |
download | mpd-box-5b1afe32cf7496acea8182278aca83f59e8384e3.tar.gz mpd-box-5b1afe32cf7496acea8182278aca83f59e8384e3.tar.xz |
Make code launchpad/energia compatible
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib/msp430/main.cpp')
-rw-r--r-- | lib/msp430/main.cpp | 16 |
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; +} + |