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: BufferedSerial
Diff: Communication.cpp
- Revision:
- 4:256f2cbe3fdd
- Parent:
- 1:dc87724abce8
- Child:
- 9:76b59c5220f1
--- a/Communication.cpp Wed Apr 24 16:00:07 2019 +0000
+++ b/Communication.cpp Thu May 06 16:03:09 2021 +0000
@@ -32,4 +32,13 @@
bin_msg.add(theta);
write_bytes(bin_msg.message, bin_msg.length());
+}
+
+void send_map(float Mapa)
+{
+ bin_msg.reset();
+ bin_msg.add('O');
+ bin_msg.add(Mapa);
+
+ write_bytes(bin_msg.message, bin_msg.length());
}
\ No newline at end of file