Hi, Hopefully someone can help me.
I am using an Arduino Mega to interface with a device which requires several parameters set up over serial for correct operation. The documentation for the device specifies that the serial string sent to it should be in the format
with ‘s’ being the parameter i am trying to set up, being a value between 0 and 1 to four decimal places, and denoting a carriage return.
I would have thought that the below would work.
However the device seems to just ignor this command.
I know the serial comms are working as they should as I am able to communicate with it successfully to change other parameters - The problem appears to be just when sending numeric values.
Can anybody see what I am doing wrong, or any suggestions for different methods would be appreciated.
Thanks in advance