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: SoftSerial SDFileSystem mbed wave_player
Diff: main.cpp
- Revision:
- 17:8683abdc1912
- Parent:
- 16:1a0589d846bf
- Child:
- 18:3aeaa22b265d
diff -r 1a0589d846bf -r 8683abdc1912 main.cpp
--- a/main.cpp Wed May 10 14:31:39 2017 +0000
+++ b/main.cpp Wed May 10 17:31:22 2017 +0200
@@ -76,7 +76,7 @@
void client(){
MySoftSerial s(p18,p17);
s.baud(20000);
- s.format(16, SoftSerial::None, 1);
+ //s.format(16, SoftSerial::None, 1);
while (true) {
while (!s.readable());
printf("got %i\r\n",s.getc());
@@ -86,7 +86,7 @@
void relay(){
MySoftSerial s(p17,p18);
s.baud(20000);
- s.format(16, SoftSerial::None, 1);
+ //s.format(16, SoftSerial::None, 1);
int i = 0;
while (true){
wait(0.1);