February 10, 2012

Arduino Serial Servo Controller

Ok. I lied. It doesn't control a servo. I have to work on that. But it can control an LED. 

Edited two codes from here.

One is Processing.
Another Arduino.

Now my code only controls one LED. 

Processing reads a slider.


Converts the position to an 8 bit signal and sends in to the Arduino (which means you can't do this without a computer).
And the Arduino reads the serial input and puts that value to pin 10 (or any other PWM pin).

No comments:

Post a Comment