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.
Fork of Task136 by
Revision 3:c28e88869b5a, committed 2019-09-11
- Comitter:
- noutram
- Date:
- Wed Sep 11 14:19:45 2019 +0000
- Parent:
- 2:12fb933ccc6d
- Commit message:
- 2019
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Sep 11 13:46:00 2019 +0000 +++ b/main.cpp Wed Sep 11 14:19:45 2019 +0000 @@ -2,10 +2,6 @@ Serial pc(SERIAL_TX, SERIAL_RX); -DigitalOut greenLed(LED1,0); -DigitalOut blueLed(LED2,0); -DigitalOut redLed(LED3,0); - int main() { char nameString[30]; int age; @@ -16,9 +12,6 @@ pc.printf("You are %d years old\n\r", age); //Loop forever - redLed = 1; - blueLed = 1; - greenLed = 1; while(1); }