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.
Revision 5:4914c66f9a74, committed 2021-09-16
- Comitter:
- ajp109
- Date:
- Thu Sep 16 14:01:20 2021 +0000
- Parent:
- 4:20d75a9afbbd
- Commit message:
- Update pin name
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 20d75a9afbbd -r 4914c66f9a74 main.cpp --- a/main.cpp Sat Nov 21 14:49:27 2020 +0000 +++ b/main.cpp Thu Sep 16 14:01:20 2021 +0000 @@ -2,8 +2,8 @@ int main() { - // Initialise the digital pin USER_BUTTON (the blue button) as an input - DigitalIn button(USER_BUTTON); + // Initialise the digital pin BUTTON1 (the blue button) as an input + DigitalIn button(BUTTON1); // Loop forever... while (true) {