Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: lib_Transmission
main.h
- Committer:
- YSI
- Date:
- 2021-03-17
- Revision:
- 7:b4b3cd7f18da
- Parent:
- 4:0e42ea16a9cb
- Child:
- 8:bea3564ffb56
File content as of revision 7:b4b3cd7f18da:
#ifndef MAIN_H
#define MAIN_H
#define MBED_PROJECT "Transmission"
#include "mbed.h"
#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;
USBCDC usb(false);
string processing(string);
Transmission transmission(&pc, &usb, ð, &processing);
#endif