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 2:0dd52c30a59f, committed 2020-07-26
- Comitter:
- bmol
- Date:
- Sun Jul 26 12:26:46 2020 +0000
- Parent:
- 1:651ffd5a25c0
- Commit message:
- IT Tralee lab
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 651ffd5a25c0 -r 0dd52c30a59f main.cpp --- a/main.cpp Sun Jul 26 11:55:18 2020 +0000 +++ b/main.cpp Sun Jul 26 12:26:46 2020 +0000 @@ -12,14 +12,14 @@ if((c == 'u') && (brightness < 0.5)) { brightness += 0.01; led = brightness; - + pc.putc('^');//Extra code returns the character '^' on the pc interface } if((c == 'd') && (brightness > 0.0)) { brightness -= 0.01; led = brightness; - + pc.putc('v');//Extra code returns the character 'v' on the pc interface } } -} \ No newline at end of file +}