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-04-27
- Revision:
- 8:bea3564ffb56
- Parent:
- 7:b4b3cd7f18da
- Child:
- 10:0ab5c8865667
File content as of revision 8:bea3564ffb56:
#ifndef MAIN_H
#define MAIN_H
#define MBED_PROJECT "Transmission"
#include "mbed.h"
#include "lib_Transmission.h"
#if MBED_MAJOR_VERSION > 5
UnbufferedSerial pc(USBTX, USBRX, 230400);
#else
Serial pc(USBTX, USBRX, 230400);
#endif
string processing(string);
Transmission transmission(&pc, &processing);
#endif