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.
Try
void interrupt isr ()
{
if(INTF)
{
INTF=0;
GIE=0;
WriteByteToEE(TotalRunTime,0x0B);
GIE=1;
}
}
I thing that problem couse long time need for writing to eeprom. Try move WriteByteToEE to main.
optical quadrature encoder
Look on this page
http://www.sxlist.com/techref/microchip/qenc.htm
in my opinion this is most efficient routine for interfacing quadrature encoder.
http://www.mcselec.com/index.php?option=com_content&task=view&id=79&Itemid=57
/****************************************************/
/* Example code for using timer0 on a 16f876a
/* Just sets up an timer and toggles a port
/****************************************************/
/******************************************************/
/* Calculate preload value for timer...
maybe you to get idea
void lcd_puts(const char * s)
{
LCD_RS = 1;
poz=home position;
while(*s)
lcd_write(*s++);
poz=poz+one poz;// or poz++;
if(poz> end of first row poz && poz< home poz of second row){
poz=second row home position;
lcd_goto(poz);
}
if(poz>end of second row){...
Re: PIC START PLUS FOUND
I built picstarter(clon of pic start plus) and found that it can not program correct some pics (16c72,16c73A and some 16fxxx).
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.