I'm a new flowcode user, and I really like it
![Smile :)](./images/smilies/icon_smile.gif)
I built a program (for an atmega168) which reads the serial port, fills a string with the incoming data, until a termination character is received.
the string is split in 2 with the string manipulation block (format is: string [space] value, and this just takes them apart), but now I want to do this:
the first part of the string (which is put in a variable, called "stringL") determines what to do with the value.
I created a decision block, and changed the properties as below:
Code: Select all
stringL[]="speed"
if I place a number between the brackets (0, 1... 5... doesn't seem to make a difference), it gives me the same error.
if I remove the brackets completely, it gives me an error about an invalid array index.
what am I missing? it can't be that hard, can it?
thanks in advance,
v3n0m