I have an analog value that varies from 1 to 40 that I need to insert into a serial string as hex. My first thought was to use an ascalel to convert the analog to hex then I build my string with an atos. What I need is !1PRS01\x0D, but what I'm getting is !PRS\x01\x0D. Is there a way to do what I want without S+?
Andy