lib_Transmission_TCP_example
Dependencies: lib_Transmission
main.h
- Committer:
- YSI
- Date:
- 2021-10-06
- Revision:
- 0:bfe0a20512f3
- Child:
- 1:b9a16f894120
File content as of revision 0:bfe0a20512f3:
#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, ð, &transmission_processing, ðernet_up); #endif