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 28:e030c48c7cfd, committed 2020-04-15
- Comitter:
- edwinjair
- Date:
- Wed Apr 15 04:36:42 2020 +0000
- Parent:
- 27:e91dc3779b64
- Commit message:
- new
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Apr 12 01:17:51 2020 +0000 +++ b/main.cpp Wed Apr 15 04:36:42 2020 +0000 @@ -6,28 +6,54 @@ int main() { while(1) { - Verde = 1; + Verde = 0; + Azul = 1; + Rojo = 1; wait(7.0); - Verde = 0; - wait(0.2); - Verde = 1; - wait(0.2); - Verde = 0; - wait(0.2); - Verde = 1; - wait(0.2); - Verde = 0; - wait(0.2); + Verde = 1; + Azul = 1; + Rojo = 1; + wait(0.5); + + Verde = 0; + Azul = 1; + Rojo = 1; + wait(0.5); + + Verde = 1; + Azul = 1; + Rojo = 1; + wait(0.5); + + Verde = 0; + Azul = 1; + Rojo = 1; + wait(0.5); - Azul = 1; + Verde = 1; + Azul = 1; + Rojo = 1; + wait(0.5); + + Verde = 0; + Azul = 1; + Rojo = 0; wait(5.0); - Azul = 0; - wait(0.2); - Rojo = 1; + Verde = 1; + Azul = 1; + Rojo = 1; + wait(0.5); + + Verde = 1; + Azul = 1; + Rojo = 0; wait(5.0); - Rojo = 0; - wait(0.2); + + Verde = 1; + Azul = 1; + Rojo = 1; + wait(0.5); } -} +} \ No newline at end of file