S suelooio New Member Oct 13, 2009 #1 Does anyone know how to put two clocks inside a C program controlling 2 stepper motors with one PIC16F877A? And how to write an interrupt program for 3 sensors controlling stepper motors with PIC16F877A? Please help... Urgent!!!
Does anyone know how to put two clocks inside a C program controlling 2 stepper motors with one PIC16F877A? And how to write an interrupt program for 3 sensors controlling stepper motors with PIC16F877A? Please help... Urgent!!!
birdman0_o Active Member Oct 13, 2009 #2 Sounds like school work to me... What are you having trouble with?
S suelooio New Member Oct 13, 2009 #3 I need to use 2 clocks to control the different speed of the stepper motors... but I don't know how to do it.. and also I need to add an interrupt program for the sensors...
I need to use 2 clocks to control the different speed of the stepper motors... but I don't know how to do it.. and also I need to add an interrupt program for the sensors...
birdman0_o Active Member Oct 13, 2009 #4 You still haven't said what your having trouble with, you've only outlined your homework.
S suelooio New Member Oct 14, 2009 #5 This is the program that I have created to control 2 stepper motors with PIC16F877A... I tried to build it and it built successfully... but when the Run button is pressed... the robot is not doing anything... I really don't understand why... Attachments modified program.c 13.1 KB · Views: 482
This is the program that I have created to control 2 stepper motors with PIC16F877A... I tried to build it and it built successfully... but when the Run button is pressed... the robot is not doing anything... I really don't understand why...