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 0:a6d7375b2536, committed 2020-02-01
- Comitter:
- ramirezcar
- Date:
- Sat Feb 01 17:56:54 2020 +0000
- Commit message:
- Ejemplo Publicacion
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 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Sat Feb 01 17:56:54 2020 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h" //llamado de librería mbed
+
+DigitalOut myled(PD_13);//clase y objeto
+
+int main() {//declaración función principal
+ while(1) { //bucle mientras que...
+ myled = 1; //el programa
+ wait(2);
+ myled = 0;
+ wait(2);
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sat Feb 01 17:56:54 2020 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file