so anyone want cash for a code.
I'm using a nema 23 stepper motor, dm542t driver and
Arduino Uno R3 Microcontroller A000066.i need to Control forward, stop and reverse with
WINGONEER New Style Infrared IR Wireless Remote Control Sensor Module
so anyone want cash for a code.
I'm using a nema 23 stepper motor, dm542t driver and
Arduino Uno R3 Microcontroller A000066.i need to Control forward, stop and reverse with
WINGONEER New Style Infrared IR Wireless Remote Control Sensor Module
Which parts exactly do you need coded?
You have to provide detailed specs for what the code has to do.
this is what i have so far, works good but only on direction without ir. ill get the other info tomorrow,its 2:00am and i have to work at 5:00 am
THANKS AGAIN
int pulPin = 10;
int dirPin = 11;
int enblPin = 12;
int ledPin = 13;
int loops = 0;
void setup() {
// put your setup code here, to run once:
pinMode(pulPin, OUTPUT);
pinMode(dirPin, OUTPUT);
pinMode(enblPin, OUTPUT);
pinMode(ledPin, OUTPUT);
digitalWrite(pulPin, LOW);
digitalWrite(ledPin, LOW);
digitalWrite(enblPin, LOW);
digitalWrite(dirPin, LOW);
Serial.begin(9600);
Serial.println("init");
digitalWrite(enblPin, HIGH);
delay(100);
digitalWrite(enblPin, LOW);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(pulPin, HIGH);
digitalWrite(ledPin, HIGH);
digitalWrite(pulPin, LOW);
digitalWrite(ledPin, LOW);
delay(1);
}
What does this code do, and how is it related to your request?
I don't see stepper code or IR code, and what the loop() does just doesn't make much sense.