Ethernet test for tinydtls-0.5.0

Dependencies:   EthernetInterface mbed-rtos mbed tinydtls

Fork of tinydtls_test_ethernet by Ashley Mills

main.cpp

Committer:
ashleymills
Date:
2013-10-09
Revision:
0:6ae42a2aff75
Child:
1:391ec57807fa

File content as of revision 0:6ae42a2aff75:

#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);
    }
}