Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
In line 41, I switch from 0x8b to 0x89, the Go and adon was turn on at the same time. My problem is the isr activated once at rest only. Ones in the while loop, does not interrupt to read the pot.
I am using pic 16f690 to run stepper motor and I want to control the speed by potentiometer. I use interrupt but the speed of the motor do not change(the interrupt) never active. here is my code pls help.
#include <PIC16F690.h>
#include <pic.h>
#include <htc.h>
#define _XTAL_FREQ 20000000...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.