test

Dependencies:   mbed

Fork of DigitalIn_HelloWorld_Mbed by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbedAustin
Date:
Fri Mar 27 22:07:54 2015 +0000
Parent:
8:64e67ec4441e
Commit message:
it works!

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Mar 27 21:24:54 2015 +0000
+++ b/main.cpp	Fri Mar 27 22:07:54 2015 +0000
@@ -20,13 +20,13 @@
 
 int main()
 {
-    // check mypin object is initialized and connected to a pin 
+    // check mypin object is initialized and connected to a pin
     if(mypin.is_connected()) {
         printf("mypin is connected and initialized! \n\r");
     }
     
     // Optional: set mode as PullUp/PullDown/PullNone/OpenDrain
-    mypin.mode(PullNone); /
+    mypin.mode(PullNone); 
     
     // press the button and see the console / led change
     while(1) {