Originally Posted by
rothers27
Hello,
I understand that decimal 49 maps to an ASCII "1"; but that the manual implies that we should be able to send any integer value 1-255 through the serial port. And is that true, because we need to send a decimal 18. (Decimal 18 is binary 10010) And if MediaLab should be able to accept a Decimal 18, how do we designate that in the file as 18 is the code for a non-printing character.
We need MediaLab to respond to a middle mouse click, which is a non printing or a control character. In the ASCII conversion chart you sent, a decimal 18 is the middle mouse click (the scroll thing), characterized by "dc2." We CAN send a decimal 18 to MediaLab via serial port, what we are not able to do thus far is have MediaLab subsequently respond. In the MediaLab comport file, the following parameters are necessary:
input code (1-255), response value (1-12)
So, what would be the input code for decimal/ASCII 18? I understand the response value can be any number 1-12.
Thanks!
M