06. Choose one [Molly Samuels]

Goal: Learn to use IR rangefinder. (I also wanted to try using processing)

I built a very simple processing program that draws a square. The fill color of the square is controlled by the reading on the IR sensor: the closer you are, the darker it is.

Arduino code

Processing code

Advertisements

~ by mollysamuels on March 30, 2010.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: