Connect a Potentiometer:
A potentiometer was connected to power and ground, and the middle wire was connected to Arduino analog input pin 0.
Send Serial Output:
The provided code was uploaded to the Arduino board.
Check Serial Output:
When turning the potentiometer, the range of ASCII values scrolled through in the serial monitor.
Make a Graph:
The provided code was entered into Processing.
Results:
When turning the potentiometer, the graph fluctuated up and down accordingly.
Wednesday, November 18, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment