modified for nuc472

Dependents:   modbus-over-rs485-sample NTOUEE-mbed-modbus-RTU NuMaker_NuWicam_Lite

Fork of Modbus by Matthew Waddilove

Files at this revision

API Documentation at this revision

Comitter:
wclin
Date:
Tue Sep 20 06:17:08 2016 +0000
Parent:
3:419ee4c5e10f
Child:
5:d4c3b20819a7
Commit message:
This is sample code for NuMaker-PFM-NUC472.

Changed in this revision

portserial.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/portserial.cpp	Tue Sep 20 06:10:32 2016 +0000
+++ b/portserial.cpp	Tue Sep 20 06:17:08 2016 +0000
@@ -35,7 +35,7 @@
 static void prvvUARTRxISR( void );
 static void prvvUARTISR( void );
 
-//#define DEF_RS485_PORT 1
+#define DEF_RS485_PORT 1
 /* ----------------------- System Variables ---------------------------------*/
 
 #if defined(DEF_RS485_PORT) // mbed serial port