Senet fork
Dependencies: libxDot-mbed5 ISL29011
Fork of Dot-Examples by
Revision 20:4209abb938c0, committed 2016-11-30
- Comitter:
- shaunkrnelson
- Date:
- Wed Nov 30 17:15:37 2016 +0000
- Parent:
- 18:30f96328cfea
- Parent:
- 19:346e72331db6
- Commit message:
- Testing xDot is working
Changed in this revision
examples/src/auto_ota_example.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/examples/src/auto_ota_example.cpp Tue Nov 01 09:40:48 2016 -0400 +++ b/examples/src/auto_ota_example.cpp Wed Nov 30 17:15:37 2016 +0000 @@ -38,6 +38,25 @@ #endif +#define TEST +#ifdef TEST +int main() { + + pc.baud(115200); + mts::MTSLog::setLogLevel(mts::MTSLog::TRACE_LEVEL); + + while(true) + { + pc.printf("pc.printf(Hello World!)\r\n"); + logInfo("logInfo(HelloWorld!)\r\n"); + wait(5); + } + return 0; +} + +#else + + int main() { // Custom event handler for automatically displaying RX data RadioEvent events; @@ -134,3 +153,4 @@ return 0; } #endif +#endif