previously I learned how to display message on LCD screen. Now I want to increase complexity of program. I want to make program for following condition
if button 1 pressed than display number 1 on LCD
if button 2 pressed than display number 2 on LCD
else don't show any value
View attachment 131135
How to display number on LCD through user input
if button 1 pressed than display number 1 on LCD
if button 2 pressed than display number 2 on LCD
else don't show any value
View attachment 131135
Code (Text):
- #include<reg51.h>
- #define port P1 /* Data pins connected to port P1 */
- sbit RS = P2^0; /* RS pin connected to pin 0 of port P2 */
- sbit RW = P2^1;...