EasyButtonCode
Dependencies: libmDot mbed-rtos mbed
Fork of easyButton_GP_IOT by
Revision 14:9358bae86990, committed 2016-04-26
- Comitter:
- jlathem
- Date:
- Tue Apr 26 19:04:57 2016 +0000
- Parent:
- 13:aebe2bf2aa8b
- Commit message:
- Name Change
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Apr 19 13:01:23 2016 +0000
+++ b/main.cpp Tue Apr 26 19:04:57 2016 +0000
@@ -44,10 +44,11 @@
pc.baud(115200);
pc.printf("TTN Easy Button\n\r");
+ easyButton.mode(PullDown);
+
// get a mDot handle
dot = mDot::getInstance();
-
-// dot->setLogLevel(MTSLog::WARNING_LEVEL);
+
dot->setLogLevel(MTSLog::INFO_LEVEL);
logInfo("Checking Config");
