Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ Programming
➜ General
➜ Your RS485 library with an Arduino MEGA
|
Your RS485 library with an Arduino MEGA
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Someone
(1 post) Bio
|
| Date
| Thu 16 Jan 2014 11:20 PM (UTC) |
| Message
| Hi Nick
First i wan't to thank you for your great library! It works really great!
As my project is growing i bought an Arduino MEGA an would like to use the 4 Serials on it to have more than just one line of RS485.
As long as i use a SoftwareSerial for the communication with the rs485 IC's all works fine.
But now i want to use the 3 Hardware Serials of the MEGA (Serial1, Serial2 and Serial3)
So I changed my code to work with the HardwareSerial Serial1. The problem is now, that i can just receive Data from the RS485 but nothing is sent to the RS485.
I've already tried your examples for using the hardware serial, but they don't work.
Do you have an idea, what the problem could be?
Regards
Peter | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Fri 17 Jan 2014 05:55 AM (UTC) |
| Message
|
When you make a posting there, post your code. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,311 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top