test
Dependencies: mbed
Fork of DigitalIn_HelloWorld_Mbed by
Diff: main.cpp
- Revision:
- 9:ef3558374977
- Parent:
- 8:64e67ec4441e
--- 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) {