Wow... May Allah bless you with all his blessings and with what you want in life and huge success in this world and the world hereafter.... Love from Pakistan 😍
Queries 1.keil use c or c++ 2. can a program in c be used c++ vice versa I m confused. 3. can I input all characters at a time like lcddat('ELECTRONICS'); 4. I heard D7 of lcd is a flag that checks if busy in data read. We have not used D7. 5. Can I take int instead of unsigned int as we are going for all positive values of i from 0 to 12000. Overall your attempt is very nice and very good explanation with comments. Thank you
LCD command codes Command code Description 0x01 clear display screen 0x02 cursor Return Home 0x04 shift cursor left 0x06 shift cursor right 0x05 shift display right 0x07 shift display left 0x08 displays off, cursor off 0x0a display off, cursor on 0x0c display on, cursor off 0x0e display on, cursor Blinking 0x0f display on, cursor Blinking 0x10 shift cursor position right 0x14 shift cursor position left 0x18 shift entire display to left 0x1c shift entire display to right 0x80 force cursor to beginning of 1st line 0xc0 force cursor to beginning of 2nd line 0x38 2 rows and 5x7 matrix 0x28 4 bit mode, 2 rows and 5x7 Font
I tried making a character array and put a string of my name in it. then I ran a for loop for each element in the array and assigned each one to an unsigned char. Then in the same loop I used the char in lcddat(). But the compiler throws an error saying 'left-side of asn-op not an lvalue'. Does anyone have a solution for this?
The address of a changeable object is required on the left side of the assignment operator. This is what it says on the keil website. I think what this means is that you have written the variable whose value is to be assigned to the left of '=' and the variable where you want to store the value to the right of '='. Check your code.
Wow... May Allah bless you with all his blessings and with what you want in life and huge success in this world and the world hereafter.... Love from Pakistan 😍
Easiest possible explanation !!! Thankyou
thank you sir.. i did same project as u did..now am going to modify the program for my project. thank you so so much sir.
This helped me a lot ....thanks buddy !!!may God bless you!
Thank you Techno Tuner...
Queries
1.keil use c or c++
2. can a program in c be used c++ vice versa I m confused.
3. can I input all characters at a time like lcddat('ELECTRONICS');
4. I heard D7 of lcd is a flag that checks if busy in data read. We have not used D7.
5. Can I take int instead of unsigned int as we are going for all positive values of i from 0 to 12000.
Overall your attempt is very nice and very good explanation with comments. Thank you
My simulation is running but lcd is not displaying anything..plz help
Same problem.
@@abhighnankuruva2510 guys on 16:59 make a note to give frequency in MHz, 11.0592MHz or whatever you've chosen. This might be one of the issue.
Nice explanation❤
Im getting an error target not build. Please can you help me in solving it?
greetings sir i was wondering ca i use classes and objects in keil
so nice bro keep doing i really understand the codiing so simple
thanks priyanka ....
i understand the code but i cant get output bro.can you help.
yes sure..
I did all steps which you did in this video but in proteus can't display the output bro but in keil there showing 0 error and 0 warning
bro i got tht output thanks.i want 20X2 lcd interface with ATMEL 8051.can you help me bro.
Hello sir , can u please tell me about the lcd commands u used in the code and where to find the commands ???
hello, please, where do i find the ldc hexadecimal comands? thanks!.
LCD command codes
Command code Description
0x01 clear display screen
0x02 cursor Return Home
0x04 shift cursor left
0x06 shift cursor right
0x05 shift display right
0x07 shift display left
0x08 displays off, cursor off
0x0a display off, cursor on
0x0c display on, cursor off
0x0e display on, cursor Blinking
0x0f display on, cursor Blinking
0x10 shift cursor position right
0x14 shift cursor position left
0x18 shift entire display to left
0x1c shift entire display to right
0x80 force cursor to beginning of 1st line
0xc0 force cursor to beginning of 2nd line
0x38 2 rows and 5x7 matrix
0x28 4 bit mode, 2 rows and 5x7 Font
TX alot for giving information sir
Y u select on chip rom?
Nicely explained
sir good explain but sir i have one question how to add this code in real hardware how to add hex file in real hardware. plz tell me sir.
How to change lines???
but how to interface lcd with pic microcontroller ?
Thanks a lot 🙏🙏🙂
why does it shows startup code warning?
explain clearly
This is Amazing
sbit means
sir
thank you brother
good information
Getting invalid character constant error can you please give a solution
nice vid dude !!
Thank you RD Gamezz..
i need how to read the data on lcd
Thanks
Why don't you put those delay calls in the lcdcmd and lcddat fuction itself.
its individual choice...no problem you can do add
Plz share Proteus suit download link..
Can anyone please tell how toh share project from Proteus software
I tried making a character array and put a string of my name in it. then I ran a for loop for each element in the array and assigned each one to an unsigned char. Then in the same loop I used the char in lcddat(). But the compiler throws an error saying 'left-side of asn-op not an lvalue'. Does anyone have a solution for this?
The address of a changeable object is required on the left side of the assignment operator.
This is what it says on the keil website.
I think what this means is that you have written the variable whose value is to be assigned to the left of '=' and the variable where you want to store the value to the right of '='. Check your code.
@@ddm1912 yeah, I changed the expression. I figured it was that problem, thanks for the reply.
As I wrote this code, I got an error message as 'i character unidentified', can anyone please solve this issue
Im getting an error in proteus falat simulator error so help me
I think ox81 is 1st line 2nd position
Hi Raju,....Yes..
Pls give this program in PDF
Excuse me, do you have a playlist for 8051?? Leds, registers, timers, serial...
No
can you share the code file
hello dear,
i love the way you explain
but im facing difficulty whem compliling this code,
can you send my code?
Thank you Ahmad Ali, give me your mail id or text to ysnanda45@gmail.com, TQ
@@seshanandareddy6078 ua-cam.com/video/I3WcMeAYt2w/v-deo.html
lcd demo.c(37): error C202: 'Val': undefined identifier
showing error
Now i solved that, thanks for co oprating.
can i get this software
give me mail id i will send you softwares or else rgroupideas@gmail.com, text me
sir please send me basic LCD 16x2 program in c language
contact 9000047070, Thank you
#include
using namespace std;
main()
{
int a,b,temp;
printf("Enter the value of a & b :");
scanf("%d %d",&a,&b);
if(a
proteus software ,download link
me 2
Only paid version. No free option like keil
I am getting error
send me coding
can u send me my code??
The lcd code I want is SURESH RAM MALI
please reply my comment