ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
Worlds best tutor❤
Which sensor ur using
The code is working..but the lcd is not displaying anything
There is no atmel option in latest version what to do?
Bro there is no Atmel option in keil version 5 can u help me?
Hi ! This code isnt working ... please can i get the exact code?
what happens to buzzer here?
#includesbit sensor=P1^0;sbit rs=P1^1;sbit rw=P1^2;sbit en=P1^3;sbit buzzer=P3^0;void lcdinit();void lcddat(unsigned char);void lcdcmd(unsigned char);void lcddis(unsigned char *);void delay();void main(void) { buzzer=0; back:sensor=0; //No Fire lcdinit(); lcddis("FIRE ALERT"); lcdcmd(0xC0); lcddis("SYSTEM"); delay(); while(1) { if(sensor==0) { lcdcmd(0x01); lcddis("FIRE OCCURED"); buzzer=1; } goto back; } }void lcdinit() { lcdcmd(0x38); lcdcmd(0x01); lcdcmd(0x10); lcdcmd(0x0c); lcdcmd(0x80); }void lcdcmd(unsigned char val) { P2=val; rs=0; rw=0; en=1; delay(); en=0; }void lcddat(unsigned char dat) { P2=dat; rs=1; rw=0; en=1; delay(); en=0; }void lcddis(unsigned char *s) { unsigned char w; for(w=0;s[w]!='\0';w++) { lcddat(s[w]); } }void delay() { unsigned char v1; for(v1=0;v1
Bro lcd not showing
Thanks alot sir!!
Sir can i get the flowchart ?
Sir there's a compilation error while playing the code
Sir can you please make a video on elevator control system using 8051
Thanks. The work is going through but the LED is not displaying "FIRE ALARM SYSTEM" It only comes on
facing same problem .!!!!!!!!
Facing same problem
@@priyansai8030 now mine worked
@@priyaranjan9487 what changes did u do
@@shwethareddy8708 Give me Ur mail i will mail you the code
can someone mail me the correct code? ASAP
Sir please make video on bidirectional visitor counter using two 7 segment displayIt's helpful for me
SIR PLEASE CAN U PLEASE TELL ME HOW TO DOWNLOAD PROTEUS
BrotherCode is not working , please provide complete code pdf
Bro did you clear the error...if yes can you send the code to my email
@@tejascm6154 yes bro it's now working Thanks Code have some error
@@AmanSingh-yh8hn bro please send the code to this email intejas26@gmail.com
@@tejascm6154 bro for me code is not working
@@AmanSingh-yh8hn bro can you please mail me the code
Sir please send it's info
Hello sir, nice video!, could I have the code?
LOGIC CONTENTION ERROR
Hi Avinash and Sid
Give core bro
Give code bro
Sir I need code
did u get the code
@@surendravecha276 i also need the code..?
@@ehtishamzaheer1331 I need the code rn, can anyone help me with it?
Code pls
Worlds best tutor❤
Which sensor ur using
The code is working..but the lcd is not displaying anything
There is no atmel option in latest version what to do?
Bro there is no Atmel option in keil version 5 can u help me?
Hi ! This code isnt working ... please can i get the exact code?
what happens to buzzer here?
#include
sbit sensor=P1^0;
sbit rs=P1^1;
sbit rw=P1^2;
sbit en=P1^3;
sbit buzzer=P3^0;
void lcdinit();
void lcddat(unsigned char);
void lcdcmd(unsigned char);
void lcddis(unsigned char *);
void delay();
void main(void)
{
buzzer=0;
back:sensor=0; //No Fire
lcdinit();
lcddis("FIRE ALERT");
lcdcmd(0xC0);
lcddis("SYSTEM");
delay();
while(1)
{
if(sensor==0)
{
lcdcmd(0x01);
lcddis("FIRE OCCURED");
buzzer=1;
}
goto back;
}
}
void lcdinit()
{
lcdcmd(0x38);
lcdcmd(0x01);
lcdcmd(0x10);
lcdcmd(0x0c);
lcdcmd(0x80);
}
void lcdcmd(unsigned char val)
{
P2=val;
rs=0;
rw=0;
en=1;
delay();
en=0;
}
void lcddat(unsigned char dat)
{
P2=dat;
rs=1;
rw=0;
en=1;
delay();
en=0;
}
void lcddis(unsigned char *s)
{
unsigned char w;
for(w=0;s[w]!='\0';w++)
{
lcddat(s[w]);
}
}
void delay()
{
unsigned char v1;
for(v1=0;v1
Bro lcd not showing
Thanks alot sir!!
Sir can i get the flowchart ?
Sir there's a compilation error while playing the code
Sir can you please make a video on elevator control system using 8051
Thanks. The work is going through but the LED is not displaying "FIRE ALARM SYSTEM"
It only comes on
facing same problem .!!!!!!!!
Facing same problem
@@priyansai8030 now mine worked
@@priyaranjan9487 what changes did u do
@@shwethareddy8708 Give me Ur mail i will mail you the code
can someone mail me the correct code? ASAP
Sir please make video on bidirectional visitor counter using two 7 segment display
It's helpful for me
SIR PLEASE CAN U PLEASE TELL ME HOW TO DOWNLOAD PROTEUS
Brother
Code is not working , please provide complete code pdf
Bro did you clear the error...if yes can you send the code to my email
@@tejascm6154 yes bro it's now working
Thanks
Code have some error
@@AmanSingh-yh8hn bro please send the code to this email intejas26@gmail.com
@@tejascm6154 bro for me code is not working
@@AmanSingh-yh8hn bro can you please mail me the code
Sir please send it's info
Hello sir, nice video!, could I have the code?
LOGIC CONTENTION ERROR
Hi Avinash and Sid
Give core bro
Give code bro
Sir I need code
did u get the code
@@surendravecha276 i also need the code..?
@@ehtishamzaheer1331 I need the code rn, can anyone help me with it?
Code pls