Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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: 343
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top