Hi,
I need send non printible ascii. For example.
if i send 1 (integer) my device conver it 49
what am i send for device understant 1
i looked this table
http://easycalculation.com/ascii-hex.phpit write "SOH" 1 but how can i send it?
device has c# example but i can't convert it lazarus.
c# example write
foreach (string value in values)
{
int v = Int32.Parse(value);
if (v != 0)
ms.Write(new byte[] { 1 }, 0, 1);
else
ms.Write(new byte[] { 0 }, 0, 1);
}
break;
thanks.