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.
Diff: main.cpp
- Revision:
- 1:ac7a077c0039
- Parent:
- 0:96fa55991f93
- Child:
- 2:247fd31aff31
--- a/main.cpp Mon Apr 25 05:48:21 2022 +0000
+++ b/main.cpp Mon Apr 25 18:36:36 2022 +0000
@@ -1,3 +1,5 @@
+//CÓDIGO 2-A
+
#include "mbed.h"
#define BUFFER_SIZE 8
@@ -9,9 +11,9 @@
static const char* to_send[] = { "abcde", "12345", "EFGHI" };
int main()
{
- pc.printf("\x1b[2J"); //CLEAR
+ pc.printf("\x1b[2J"); //CLEAR
pc.printf("\r"); //Mueve cursor al origen
- pc.printf("MASTER\r\n");
+ pc.printf("I'M MASTER\r\n");
master.frequency (100000);
char buf[BUFFER_SIZE];
@@ -36,6 +38,5 @@
if (send_index > 2) {
send_index = 0;
}
-
}
}