lib_Transmission_TCP_example

Dependencies:   lib_Transmission

main.h

Committer:
YSI
Date:
2022-06-30
Revision:
1:b9a16f894120
Parent:
0:bfe0a20512f3

File content as of revision 1:b9a16f894120:

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

string              transmission_processing(string);
Transmission        transmission(&pc, &eth, &transmission_processing);
#endif