serial test code for custom boards
Dependencies:
MODSERIAL
mbed
main.cpp
- Committer:
- seiya1225
- Date:
- 2018-08-10
- Revision:
- 0:070feac238b3
File content as of revision 0:070feac238b3:
#include "mbed.h"
Serial pc(USBTX, USBRX);
int main() {
pc.printf("Echoes back to the screen anything you type\n");
while(1) {
pc.putc(pc.getc());
}
}