MOTOR SPEED CONTROL USING MOSFET/BJT & POT

Photo of author

By Jackson Taylor


void setup()
{
  pinMode(11, OUTPUT);
}
void loop()
{
  int a=analogRead(A0)/4;
  analogWrite(11, a);
}