Ethernet test for tinydtls-0.5.0
Dependencies: EthernetInterface mbed-rtos mbed tinydtls
Fork of tinydtls_test_ethernet by
Diff: main.cpp
- Revision:
- 0:6ae42a2aff75
- Child:
- 1:391ec57807fa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Oct 09 14:48:52 2013 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" +#include "rtos.h" +#include "VodafoneUSBModem.h" +#include "bsd_socket.h" +#include "dtls.h" + +DigitalOut myled(LED1); + +int main() { + while(1) { + myled = 1; + wait(0.2); + myled = 0; + wait(0.2); + } +}