DC Motor speed 1.0

License: Free ‎File size: N/A
‎Users Rating: 0.0/5 - ‎0 ‎votes

motor sürücü IN1 pinini arduino üzerindeki GND soketine ------------------------------------------------------------------------------ motor sürücü ENA pinini arduino üzerindeki PWM 3 soketine ---------------------------------------------------------- int dc = 3; int value = -1; void setup() { Serial.begin(9600); pinMode(dc, OUTPUT); } void loop() { while (Serial.available()) { value = Serial.read(); { Serial.println(value); analogWrite(dc,value); value = -1; } }

VERSION HISTORY

  • Version 1.0 posted on 2016-05-11

Program Details