Hello,
I've bought industrial display with controler.
It talk through RS485 module.
I am able to communicate with the display with "coolTerm" (serial tool on osx)
when i try to send the frame trought RS485, nothing happens...
I suppose i've misunderstood something on the way to send.
I use the RS485_protocol.h with SoftwareSerial lib.
on this forum there is example code to send message as master.
I have to send a frame in hexa like this:
80 89 00 34 8F
in the example (this is where is my pb i suppose) i write the message like this
byte msg [] = {
0x80,
0x89,
0x00,
0x34,
0x8F
};
digitalWrite (ENABLE_PIN, HIGH); // enable sending
sendMsg (fWrite, msg, sizeof msg);
when i send it... nothing
in fact i need some help to correctly build the message and be sure to send it as hexa not ascii
(if i try to communicate to display via serialtool an ascii string it does not work)
hope i'm clear.
please give some help...
regards
é.