Pages: [1]   Go Down
Author Topic: examples and code at bottom - graph  (Read 482 times)
0 Members and 1 Guest are viewing this topic.
Massachusetts
Offline Offline
Jr. Member
**
Karma: 0
Posts: 66
N1VAN
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry if this has been asked lots of times...

I am learning from the examples, and am looking at the Graph example.   I have it working using the serial monitor, but I see there is code at the bottom of the example that is commented out that looks like it opens a port, reads the data, etc.  
What is this code designed to run in?   Java?

Maybe I skipped some documentation i should have read?
Thanks!
Logged

Massachusetts
Offline Offline
Jr. Member
**
Karma: 0
Posts: 66
N1VAN
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Possibly I have my answer from the 'learning page' - the examples have source at the bottom that run in the 'processing' development environment?  (processing.org)??
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

Yes, I too have had some difficulty with this.

However, I found the answer at http://protolab.pbwiki.com/TutorialProcessingSetup

the whole site is dedicated to this. Good luck

Please let me know if you get the graph program to work.

Whenever I run it, I just get a blank box, where a graph SHOULD be, but no graph or moving lines.

However, in the arduino software, i do see the serial monitor as registering changes in my sensor values.

Very strange why it is no ouputting this smae data to a graph.

If you can help, this would be great!!!
Logged

Grenoble/Lyon - France
Offline Offline
Sr. Member
****
Karma: 0
Posts: 363
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe your processing sketch isn't listening to the right com port.
Logged


Pages: [1]   Go Up
Jump to: