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 › Serial input control object movement along x axis
Page Index Toggle Pages: 1
Serial input control object movement along x axis (Read 827 times)
Serial input control object movement along x axis
Apr 28th, 2009, 10:23am
 
Hey i've be trying and failed  to get this working and wondering if anyones had a similar problem. I am trying to get the values from a ping sensor to control the movement of a bubble on screen along the x axis as it floats around. I'm sure its not that complected all i need is slight movement either left or right. It only has to move 5-10px at a time. Can i take in 4 values get an average and then move accordingly????

all the best

Eoin
Page Index Toggle Pages: 1