I try to send commands from an arduino to Xminilab through serial connection, according to user manual.
Arduino C provide 2 commands adequate for serial communication (if I am not mistaken):
a) Serial.print(XXX); to send an ascii character.
b) Serial.write(XXX); to send a binary character.
If for example I want to set Xminilab to X-Y mode, what should I do?
Already I have try this:
Serial.print(

;
Serial.write(X); ? ?// Where X all possible values from 0-255
Nothing change on display.
I should note that to translate voltage between Arduino and Xminilab, I place a voltage divider with a resistor 220? between?Arduino Tx and Xminilab Rx, and a 330? between Rx and GND of Xminilab.
Also I have set speed to 115000. Parity and stop bit are by default the same like those of Xminilab.
What should I do?