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: mbed 4DGL-uLCD-SE mbed-rtos nRF24L01P
Diff: main.cpp
- Revision:
- 32:c40d581f50af
- Parent:
- 31:39d04aedc3e5
- Child:
- 33:5d86c111d9bc
diff -r 39d04aedc3e5 -r c40d581f50af main.cpp --- a/main.cpp Mon Apr 23 15:29:18 2018 +0000 +++ b/main.cpp Mon Apr 23 16:05:32 2018 +0000 @@ -88,7 +88,7 @@ spkr.write(speakerSample); } else { // Get mic sample and place into buffer - uint8_t micSample = mic.getData(); + uint8_t micSample = 0;//mic.getData(); txbuff.push(&micSample, 1); // Make sure the speaker is actually off @@ -140,7 +140,7 @@ } } - pc.printf("%d %d\n\r", txbuff.size(), rxbuff.size()); + pc.printf("TX Size %d RX Size%d Mode %d\n\r", txbuff.size(), rxbuff.size(), mode); Thread::yield(); Thread::wait(100); }