Arduino + simpleSM

hi guys

i have been playing with arduino and simplesytemmessage

http://www.arduino.cc/playground/Code/SimpleMessageSystem

after quite a while trying to figure out how to add the carriage return , looking on ascii table and staff , just yesterday i thank spell node that does give me this transparent character :D
now it works in arduino and arduino bt but i have some doubts ,if you look in the patch

What is the best way to get the spread of strings into RS232 ?or maybe it is not a spread what it needs

when i add analog read and digitalread they seem to be in the same spread and a mess is created ?
so
What is the best to split the spread of strings out of RS232 ?or to make them go in order

how do i get rid of the a and d in the beggining and split them by space in the same time with RegExpr ?

d 1 1 1 1 1 0 1 1 1 1 1 0

a 573 699 815 907 805 819

hope my questions are understandable …
cheers
colorsound

SMsystemvvvv.rar (108.5 kB)

i have been playing a bit more ,
and got a little improvement but still ,
it is not working good and when making all the pins to work is very slow , i think because , i,m sending a very long string , maybe sending a string after the other will work better , i,ll keep trying , any suggestion how to split this in regexpr :
a 573 699 815 907 805 819 ,
now i,m using separate and works but i,d like to know the regexpr way ,

here is what i,ve got so far ,
thanks

arduino_SimpleSM.rar (16.4 kB)

Hola Abraham,
forgot your password? ;)

read the lovvvvely helpfile:

SNIP
\s any space (\S any non-space)
SNIP
iterators
SNIP
*~/np~ zero or more occurrences (as long as possible)
SNIP

so

(\S*)

will do the trick.

Hola Kalle ,

thanks for the reg , i knew about this (\S) but not this (\S*) ,

hehehe , i still remember my pass , it is just that i just like to log when i,m at home so i keep track of new threads
but i guess it,s the same ;D

i have updated the patch,

in this update , you can use the analog in and the digital write in arduino NG and arduino BT ,
with the 6 PWM ,
tested with arduino bt and normal arduino with a atmega8

if you have an arduino it would be nice if you test it ,
it needs some improvements , my way of patchin is still not very smart and some staff could be done in other and better ways , still needs to get digital read , so far it was making a messs in the other pins ,
in arduino BT the pin 7 is got a bug or something , makes vvvv to crash when high , for the rst seem to work fine ,

cu

arduino_SimpleSM_0.2.rar (32.8 kB)