Receive data from two hardware serial ports

Sorry, I have had the distance sensor disconnected, I checked, but I still have a little inconvenience, since it was good, that I obtain the three values of the sensors (acceleration, temperature and humidity) and then the value of the distance sensor. but the values are a bit confusing

Post the sketches (for both MEGA-1 and MEGA-2) against which you have the responses of post #23.

They are the same codes, previously that you have provided me. The only thing I would like is that the reading of the distance value does not come out many times, but rather that it be alternated with the values of the other sensors.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.