hsu han-lin
/
Modbus_Test
from Cam Marshall original modbus
Fork of Modbus by
Revision 9:0fb2f20a1451, committed 2017-04-09
- Comitter:
- stanley1228
- Date:
- Sun Apr 09 19:05:17 2017 +0800
- Parent:
- 8:924d128c1722
- Commit message:
- 1.Changge to baudrate 460800 ok
2.Test 921600 failed
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Mar 31 01:35:28 2017 +0000 +++ b/main.cpp Sun Apr 09 19:05:17 2017 +0800 @@ -106,7 +106,7 @@ { eMBErrorCode eStatus; - eStatus = eMBInit( MB_RTU, SLAVE_ID, 0, 115200, MB_PAR_NONE ); + eStatus = eMBInit( MB_RTU, SLAVE_ID, 0, 460800, MB_PAR_NONE ); /* Enable the Modbus Protocol Stack. */ eMBEnable( );