lib_Transmission_TCP_example

Dependencies:   lib_Transmission

Revision:
0:bfe0a20512f3
Child:
1:b9a16f894120
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.h	Wed Oct 06 09:20:05 2021 +0000
@@ -0,0 +1,18 @@
+#ifndef MAIN_H
+#define MAIN_H
+#define MBED_PROJECT    "Transmission TCP"
+
+#include "lib_Transmission.h"
+
+BusOut              Led(LED1, LED2, LED3);
+#if MBED_MAJOR_VERSION > 5
+UnbufferedSerial    pc(USBTX, USBRX, 230400);
+#else
+Serial              pc(USBTX, USBRX, 230400);
+#endif
+EthernetInterface   eth;
+
+void                ethernet_up(void);
+string              transmission_processing(string);
+Transmission        transmission(&pc, &eth, &transmission_processing, &ethernet_up);
+#endif
\ No newline at end of file