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-03
- Revision:
- 4:0e42ea16a9cb
- Parent:
- 1:59b4a81bd792
- Child:
- 7:b4b3cd7f18da
File content as of revision 4:0e42ea16a9cb:
#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