Port.write question

edited November 2016 in Arduino

I am trying to send the following: H254,254\n. I am not sure I am formatting it correctly in the write statement. Any help would be so appreciated!!!!

value1=254; value2=254; myPort.write("H" + value1 + value2 + "\n");

Tagged:

Answers

Sign In or Register to comment.