Shop OBEX P1 Docs P2 Docs Learn Events
BS2 with PINK convert byte to string — Parallax Forums

BS2 with PINK convert byte to string

MiccimMiccim Posts: 14
edited 2008-06-08 18:39 in BASIC Stamp
I 've got an AD592 (temp. probe) working with my basic stamp (BS2). The temp. readout (byte) is send to my PINK / Netburner. Connecting via internet to the Netburner to read out temp will show an ASCII character.

My question is: how to convert the byte to a string with the BS2? For example convert byte with the value 30 to string "30", then I can send the string to the Netburner.

Can anyone point my to the right direction here please?

--Michel--

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-06-07 14:38
    Take a look at the help file in the editor for SEROUT formatters.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • MiccimMiccim Posts: 14
    edited 2008-06-08 18:39
    Solved....thanx a lot...so easy (using DEC varname)!

    --Michel--
Sign In or Register to comment.