simple passthrough for nucleo

Fork of SerialPassthrough_LPC1768 by jim hamblen

Files at this revision

API Documentation at this revision

Comitter:
tulanthoar
Date:
Thu Aug 03 19:51:14 2017 +0000
Parent:
6:0398d0fcc8cc
Child:
8:1d62862e1390
Commit message:
ble passhrough for 767zi

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Sep 16 16:28:29 2015 +0000
+++ b/main.cpp	Thu Aug 03 19:51:14 2017 +0000
@@ -1,9 +1,9 @@
 #include "mbed.h"
 
-RawSerial  pc(USBTX, USBRX);
-RawSerial  dev(p28,p27);
+Serial  pc(USBTX, USBRX);
+Serial  dev(PD_5,PD_6);
 DigitalOut led1(LED1);
-DigitalOut led4(LED4);
+DigitalOut led4(LED2);
 
 void dev_recv()
 {