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: PinDetect Data_Clock_Pair Seeed_Chainable_LED
Revision 1:75acf748c9b0, committed 2017-04-10
- Comitter:
- tulanthoar
- Date:
- Mon Apr 10 04:59:21 2017 +0000
- Parent:
- 0:ac1348b452a0
- Child:
- 2:b27a4eac471e
- Commit message:
- change interrupt to D8 (PF_12)
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Apr 10 04:54:40 2017 +0000 +++ b/main.cpp Mon Apr 10 04:59:21 2017 +0000 @@ -1,6 +1,6 @@ #include "mbed.h" -InterruptIn mybutton(USER_BUTTON); +InterruptIn mybutton(PF_12); DigitalOut myled(LED1); float delay = 1.0; // 1 sec