Use another Serial Port on Arduino Mega
GoogleCodeExporter opened this issue · comments
What steps will reproduce the problem?
1. I am using Arduino Mega an i'd like to use the Serial 3
2.
3.
What is the expected output? What do you see instead?
By default, the library use the serial "0"
What version of the product are you using? On what operating system?
I am usig Simple-Modbus V7
Please provide any additional information below.
Original issue reported on code.google.com by ismerch...@gmail.com
on 24 Aug 2013 at 12:48
Please use V10, you can select the Serial object.
Original comment by bester.j...@gmail.com
on 24 Aug 2013 at 8:03
Thank you! i'll try with V10
Original comment by ismerch...@gmail.com
on 27 Aug 2013 at 1:15
I have change the library but i can't understatement the sintax for change the
serial port:
Modbus_configure(&Serial , 960 ,..........
E.g. If i want to change in port 2 "&Serial" become?
Thanks
Original comment by alberode...@gmail.com
on 8 Sep 2013 at 8:34
Use &Serial1, $Serial2 etc...
Original comment by bester.j...@gmail.com
on 9 Sep 2013 at 8:30
Yes Very easy of course.....
Thanks
Original comment by alberode...@gmail.com
on 10 Sep 2013 at 5:48
This is not a defect.
Original comment by bester.j...@gmail.com
on 26 Sep 2013 at 11:23
- Removed labels: Priority-Medium, Type-Defect