Pages: [1]   Go Down
Author Topic: Hardware serial problem  (Read 898 times)
0 Members and 1 Guest are viewing this topic.
VARESE ITALY
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 124
Posts: 6654
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

VARESE ITALY
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48556
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So, now you need to post your code. It is unlikely to be a hardware problem.
Logged

VARESE ITALY
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Wacky liby time  ;D
Logged

VARESE ITALY
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry, but slang is not for me.

What want you say with " Wacky liby time " ?
Logged

Pages: [1]   Go Up
Jump to: