First of all, I connected power and ground on the breadboard to power and ground from the arduino. And then, I connected the pot to analog pin 0 as an analog input and connected a seromotor to digital pin 2. The blue wire in the right side is a servo.
No comments:
Post a Comment