Go Down

Topic: Hardware serial problem (Read 1 time) previous topic - next topic

marco12345

Hi, I want use HW serial to have a bidirectional comunication with a VMUSIC module, the RX is OK, but I can't send commands. I have verified the TX with a logic analizer and I have found that Arduino send a byte(1 or 3) a CR,LF and then the char in serial.print().

It is possible TX only what is in serial.print()??

Thanks!

westfw

Are you sure you're not using "Serial.println()" instead of Serial.print() ?

marco12345

Hi,
sure, I have try also serial.write() but is the same thing!

PaulS

So, now you need to post your code. It is unlikely to be a hardware problem.
The art of getting good answers lies in asking good questions.

marco12345

Thanks to all!

It was a SW problem! I was using the analog button library that have an hidden serial.println() in it to trasmit the number of button pressed.I have modified the AnalogButtons.cpp file and now it's working well!

Senso


marco12345

Sorry, but slang is not for me.

What want you say with " Wacky liby time " ?

Go Up