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
- Category: System Utilities > System Maintenance
- Publisher: SopSoft
- License: Free
- Price: N/A
- Version: 1.0
- Platform: android