Hello,

I have this..

(hpos is an integer)

senddata = ("#MS"+ (QByteArray::number(hpos)) +"$");

This works well and sends..'#MS65$' for example. (if hpos=65)

My problem is I do not want to send a string with the encoded deimal value, I need to convert hpos into the ascii char of value hpos..(ie. 'A' in this case) and insert in the string.

Everything between the #MS and the $ will consist of many successive 8 bit values (data) for a uP.

I know this is simple and will kick myself.. Tin hat on..

Iain