Dependencies:   libmDot mbed-rtos mbed

Fork of easyButton_GP_IOT by Jonathan Lathem

Files at this revision

API Documentation at this revision

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
diff -r aebe2bf2aa8b -r 9358bae86990 main.cpp
--- 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");