Visual Basic Serial Com

Hi,

I’m working with visual studio 2005, i’m making a program in visual basic, to controll my servo controller, the problem is that i only can send 127 values instead 255,

the part of the code is:

SerialPort1.Write(Chr(value_to_send))

all is working fine, but i want to send 255 to get better the resolution of the servos. :bulb:

I think you have to do something like serial.WriteByte(byte). I seem to remember that I had the same problem but with the read function and I had to do the readbyte.