View Full Version : Pink string variables

05-05-2006, 09:30 AM
Hello all, I was wondering aboutpink string variables. specifically from my understanding each pink variable can hold up to 64 bytes of data while the bs2 series can only hold a total of 26 bytes of variable data. If I wanted to have a web form with text fields how can I get at those extra 40 bytes of pink data? I realize I can use one byte(xx) variable to read multiple text fields in as long as I send them out to my serial device before reading in more data, is ther a way to read, say, half a pink variable in and then the next half?

Thanks for any help you can give,

www.matthewbmosher.com (http://www.matthewbmosher.com)

Ryan Clarke
05-05-2006, 09:38 PM
The example in the PINK documentation uses a BS2P and the scratch pad ram to grab bytes. For the BS2 this obviously isn't an option.


Ryan Clarke
Parallax Tech Support

RClarke@Parallax.com (mailto:RClarke@Parallax.com)

05-11-2006, 09:44 AM
Is there a way to do this with the BS2SX? It has the scratch pad ram but not the SPSTR function...