Hi. I am using SerialPort1.Write(x) in VB.Net (express Visual Studio 2010) to send the value x to an MCU.
All "communication" are correct; i.e. RX and TX and interrupt from MCU are all working fine.
There is only one issue:
The MCU side is reading 52. What is wrong? Please advise.
p.s. I had also tried SerialPort1.Write(val(value)) but this does the same thing.
All "communication" are correct; i.e. RX and TX and interrupt from MCU are all working fine.
There is only one issue:
VB.NET:
dim value as integer
value = 45
SerialPort1.Write(value)
The MCU side is reading 52. What is wrong? Please advise.
p.s. I had also tried SerialPort1.Write(val(value)) but this does the same thing.