Go Down

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

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?

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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy