hello Forum,
I am getting quite some pain from figuring the serial comm. problem.
I hope someone can give me a very simple and clear answer.
I believe this is very simple to many of you who are familiar with Arduino.
I have two Arduino UNOs.
I already worked out the wiring/connecting them.
I am using Serial.write() to send something from one Arduino to the other.
What I want to make happen is that:
When I send letters(or strings) in one Arduino, I want to receive the same thing from the receiving Arduino. When I send numbers from one end, I want to get the same thing on the other.
So, basically, I want to receive the exactly same thing with same type (int, float, byte, string, whatever) on the receiving end as whatever I send from the sender. Sorry about my poor English. It sometimes even confuses me =)
Thank you very much for reading this post.
tachyon_arduino:
hello Forum,
I am getting quite some pain from figuring the serial comm. problem.
I hope someone can give me a very simple and clear answer.
I believe this is very simple to many of you who are familiar with Arduino.
I have two Arduino UNOs.
I already worked out the wiring/connecting them.
I am using Serial.write() to send something from one Arduino to the other.
What I want to make happen is that:
When I send letters(or strings) in one Arduino, I want to receive the same thing from the receiving Arduino. When I send numbers from one end, I want to get the same thing on the other.
So, basically, I want to receive the exactly same thing with same type (int, float, byte, string, whatever) on the receiving end as whatever I send from the sender. Sorry about my poor English. It sometimes even confuses me =)
Thank you very much for reading this post.
OK, we get what you want to do. What is actually happening is the question? And where is the code you are using to get that?
Paul
In case you haven't read it, this is a great tutorial - Serial Input Basics. Otherwise, you may need to include more information regarding your problem.