Search found 1 match

by geekboy
Tue Jun 15, 2010 12:49 am
Forum: Software
Topic: Arduino Motor Software
Replies: 3
Views: 38565

Arduino Motor Software

Anyone know what I have to change in this code to increase the frequency of PWM?

int potPin = 2; // select the input pin for the potentiometer
int ledPin = 11; // note onlly 5,6, 9,10,11 are PWM
int wait = 0; // variable to store the value coming from the sensor


void setup() {
// Serial ...