Re: Convert variable directly into a string (no ASCII)

2009-05-02 Thread Tim Roberts
Justin Rajewski wrote: > >I need to print variables out over serial, however I need them to not be >in ASCII, ie if the variable is 5 then print 5 not "5". > >The function that writes to the serial port requires a string and I can >send non-variables out with the string "/x05" for 5. > >Is this ev

Re: Convert variable directly into a string (no ASCII)

2009-05-02 Thread Günther Dietrich
Justin Rajewski wrote: >I need to print variables out over serial, however I need them to not be >in ASCII, ie if the variable is 5 then print 5 not "5". > >The function that writes to the serial port requires a string and I can >send non-variables out with the string "/x05" for 5. See module st

Re: Convert variable directly into a string (no ASCII)

2009-05-02 Thread Ulrich Eckhardt
Justin Rajewski wrote: > I need to print variables out over serial, however I need them to not be > in ASCII, ie if the variable is 5 then print 5 not "5". > > The function that writes to the serial port requires a string and I can > send non-variables out with the string "/x05" for 5. Take a loo

Re: Convert variable directly into a string (no ASCII)

2009-05-02 Thread Martin v. Löwis
> I need to print variables out over serial, however I need them to not be > in ASCII, ie if the variable is 5 then print 5 not "5". > > The function that writes to the serial port requires a string and I can > send non-variables out with the string "/x05" for 5. > > Is this even possible? So yo

Re: Convert variable directly into a string (no ASCII)

2009-05-02 Thread Stephen Hansen
> I need to print variables out over serial, however I need them to not be > in ASCII, ie if the variable is 5 then print 5 not "5". > > The function that writes to the serial port requires a string and I can > send non-variables out with the string "/x05" for 5. > > Is this even possible? > Check

Convert variable directly into a string (no ASCII)

2009-05-02 Thread Justin Rajewski
Hello, I need to print variables out over serial, however I need them to not be in ASCII, ie if the variable is 5 then print 5 not "5". The function that writes to the serial port requires a string and I can send non-variables out with the string "/x05" for 5. Is this even possible? Thanks, Jus