Go Down

Topic: Understanding Server Data (Then generating bar graph) (Read 726 times) previous topic - next topic

Wi11turner

Hi,


I am new to networking in general.

I am receiving a data strand in this format. (I can control the format, for example i can change the denotation)

This strand of data is very simple and is of two ATD values, [1],[2],[1],[2]. etc



368,175,367,175,368,175,368,175,368,175,368,175,
etc


I want to create a simple bar graph of these two data inputs.

How do i tell Processing that the first value is data[1], the second value is data[2], then the next is data[1].. and so on?



Thanks for reading this.

I appreciate that it is a nooby question.

Even if you could point me in the right direction - that would be great.

PaulS

Quote
How do i tell Processing

Did you misspell Arduino when you tried to access the Processing forum?
The art of getting good answers lies in asking good questions.

danimath

Insert an additional delimiter, e.g.

D,368,175,D,367,175,D,368,175,D,368,175,D,368,175,D,368,175,
Etc.

best regards
Andreas
http://danimathblog.blogspot.com

#define true '/'/'/'
#define false '-'-'-'

Go Up