Urgently in need of help

Status
Not open for further replies.

suelooio

New Member
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!!!
 
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...
 
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: 348
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…