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 0:e088c7c39097, committed 2014-10-02
- Comitter:
- KyleSchaff
- Date:
- Thu Oct 02 17:45:09 2014 +0000
- Commit message:
- gabe program 1
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 |
diff -r 000000000000 -r e088c7c39097 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Oct 02 17:45:09 2014 +0000 @@ -0,0 +1,18 @@ +#include "mbed.h" + +DigitalOut myled(LED1); + +int main() { +int collins_number; +int i; +printf("Enter number please, Collins:"); +scanf("%d\n\r",&collins_number); +if(collins_number<100) +{ + for(i=0;i<=collins_number;i++) + printf("COLLINS IS NOT A BOSS\n\r"); + } +else +for(i=0;i<=collins_number;i++) +printf("COLLINS IS A BOSS\n\r"); +}
diff -r 000000000000 -r e088c7c39097 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Oct 02 17:45:09 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1 \ No newline at end of file