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.
Fork of football_project by
Diff: Radio.cpp
- Revision:
- 30:c60b0d52b067
- Parent:
- 28:8e74ddc4f70f
- Child:
- 31:a6110950f385
diff -r 8e74ddc4f70f -r c60b0d52b067 Radio.cpp
--- a/Radio.cpp Sun Jan 03 20:05:15 2016 +0000
+++ b/Radio.cpp Mon Jan 04 16:33:39 2016 +0000
@@ -47,7 +47,7 @@
return;
}
- writeToPhone("Sending message: %c to: %d from: %d\r\n", m->command, m->cone, NODE_ID);
+/// writeToPhone("Sending message: %c to: %d from: %d\r\n", m->command, m->cone, NODE_ID);
payload[0] = (byte)m->command;
payload[4] = (byte)m->value & 255;
@@ -73,13 +73,13 @@
if (radio.receiveDone())
{
- writeToPhone("Received: %d bytes", radio.DATALEN);
+/// writeToPhone("Received: %d bytes", radio.DATALEN);
if (radio.DATALEN < 6)
{
return false;
}
- writeToPhone("Got message from: %d\r\n", radio.SENDERID);
+/// writeToPhone("Got message from: %d\r\n", radio.SENDERID);
m->cone = radio.SENDERID;
m->command = radio.DATA[0];
