Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of DigitalIn_HelloWorld_Mbed by
Revision 9:ef3558374977, committed 2015-03-27
- 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) {
