You are writing "i" string to the port, not the variable. If you want to write variable's value, you have to first convert it to a byte array.
You need something like:Qt Code:
To copy to clipboard, switch view to plain text mode
You are writing "i" string to the port, not the variable. If you want to write variable's value, you have to first convert it to a byte array.
You need something like:Qt Code:
To copy to clipboard, switch view to plain text mode
thanx for ur sharp response.i did well with ur suggession.thank u.bye
Bookmarks