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.
I sow that when i put function display_LCD in interrupt , then i create this problem. I try to make a function delay in program .
void msdelay(unsigned int time)
{
unsigned int i,j;
for(i=0;i<time;i++)
for(j=0;j<2;j++);
}
but problem has not disappeared
- - - Updated - - -
about...
but this problem i sow on osciloscope in real time .
i use this library for interfacing LCD
void msdelay(unsigned int itime)
{
unsigned int i,j;
for(i=0;i<itime;i++)
for(j=0;j<2;j++);
}
void command() //comand functie definita
{
RA0=0;
RA1=0;
RA2=1;
msdelay(1)...
void LCD_D7()
{
LCD_D7 = 1; //Make D7th bit of LCD as i/p
RA2 = 1; //EN
RA0 = 0; //RS
RA1 = 1; //RW
while(LCD_D7){ //read busy flag again and again till it becomes 0
RA2 = 0; //Enable H->L
RA2 = 1;
}
}
result it there
Hi everyone. Can someone explain or show me example how i can interfacing LCd without using __delay library . Because __delays generate in my project the signal delay time that I do not need. I attach picture of the problem .
Hi. Can anyoane tell me how i can generate limited frequency between 310-630 rpm ? If i have 310-630 rpm in 0.2 second . Thank you forward . I use pic16f886 .
TRISB = 0x00;
PORTB =0x00;
T1CKPS1 = 1;
T1ckps0 = 0; //prescale 4;
T1OSCEN = 0;
TMR1CS = 0;
GIE = 1;
PEIE = 1;
TMR1IE =1 ;
TMR1ON =1...
I am a beginner in programming and microcontrollers but I would like to generate pulses with pic 16f886 to 310-630 rpm in the period 0.2 second. Can help me ? . Thank you forward.
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.