We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpElectronics,  Serial Library › values not matching up, just curious..
Page Index Toggle Pages: 1
values not matching up, just curious.. (Read 971 times)
values not matching up, just curious..
Mar 25th, 2007, 6:13pm
 
I have a photo resistor hooked up to a Wiring board...
The values output (in decimal) from Wiring are rather large and the range is larger like (100 - 900).

But when when the values in Processing, the values read are from (50-70)...
Any reason?

Re: values not matching up, just curious..
Reply #1 - Mar 25th, 2007, 11:12pm
 
It's an analog vs digital data issue.
I converted the analog data to BYTE (in Wiring) and that seems to work.

Page Index Toggle Pages: 1