We are about to switch to a new forum software. Until then we have removed the registration on this forum.
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!!!!
myPort.write("H" + value1 + value2 + "\n");
You forgot the comma.
Doh!, Brillant!!! thank you Jeremy
Glad it helped, @house231 -- good luck with your project.
P.S. You can inspect your code by assembling the message to send first, then using println() to inspect what you are sending on the console. This helps with debugging.
String serialMsg = "H" + value1 + "," + value2 + "\n";