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
Revision 3:e36e651ab7f2, committed 2016-11-06
- Comitter:
- MACRUM
- Date:
- Sun Nov 06 09:12:53 2016 +0000
- Parent:
- 2:aae9d053cb5d
- Commit message:
- Avoid implicitly converted warning. Update libraries.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Sep 21 19:05:22 2014 +0000 +++ b/main.cpp Sun Nov 06 09:12:53 2016 +0000 @@ -6,7 +6,7 @@ // Turn on led if analog voltage > 30% of supply voltage int main() { while (1){ - if(ain > 0.3) { + if(ain > 0.3f) { led = 1; } else { led = 0;
--- a/mbed.bld Sun Sep 21 19:05:22 2014 +0000 +++ b/mbed.bld Sun Nov 06 09:12:53 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/9bcdf88f62b0 \ No newline at end of file