a simple mbed client example

Fork of Program4_mbedClient by Make NTU Hackathon

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon Dec 05 18:15:11 2016 +0000
Parent:
38:684673708ad1
Child:
40:c2fa339bdacc
Commit message:
Switch Serial to RawSerial

Switch Serial to RawSerial

RawSerial is interrupt-safe option
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-client

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Dec 05 15:30:11 2016 +0000
+++ b/main.cpp	Mon Dec 05 18:15:11 2016 +0000
@@ -60,7 +60,7 @@
 #define MBED_SERVER_ADDRESS "coaps://[2607:f0d0:2601:52::20]:5684"
 #endif
 
-Serial output(USBTX, USBRX);
+RawSerial output(USBTX, USBRX);
 
 // Status indication
 DigitalOut red_led(LED1);